|
27 | 27 | import org.junit.jupiter.api.BeforeAll;
|
28 | 28 | import org.junit.jupiter.api.DisplayName;
|
29 | 29 | import org.junit.jupiter.api.MethodOrderer;
|
| 30 | +import org.junit.jupiter.api.Order; |
30 | 31 | import org.junit.jupiter.api.Tag;
|
31 | 32 | import org.junit.jupiter.api.Test;
|
32 | 33 | import org.junit.jupiter.api.TestMethodOrder;
|
|
79 | 80 | import static oracle.weblogic.kubernetes.utils.CommonTestUtils.verifyConfiguredSystemResouceByPath;
|
80 | 81 | import static oracle.weblogic.kubernetes.utils.CommonTestUtils.verifyConfiguredSystemResource;
|
81 | 82 | import static oracle.weblogic.kubernetes.utils.CommonTestUtils.withLongRetryPolicy;
|
82 |
| -import static oracle.weblogic.kubernetes.utils.CommonTestUtils.withStandardRetryPolicy; |
83 | 83 | import static oracle.weblogic.kubernetes.utils.ConfigMapUtils.createConfigMapForDomainCreation;
|
84 | 84 | import static oracle.weblogic.kubernetes.utils.DomainUtils.checkDomainStatusConditionTypeExists;
|
85 | 85 | import static oracle.weblogic.kubernetes.utils.DomainUtils.checkDomainStatusConditionTypeHasExpectedStatus;
|
@@ -304,6 +304,7 @@ WEBLOGIC_IMAGE_TO_USE_IN_SPEC, adminSecretName, createSecretsForImageRepos(domai
|
304 | 304 | * Verify domain is rolling restarted.
|
305 | 305 | */
|
306 | 306 | @Test
|
| 307 | + @Order(1) |
307 | 308 | @DisplayName("Test to update data source url in the domain using auxiliary image")
|
308 | 309 | @Tag("gate")
|
309 | 310 | void testUpdateDataSourceInDomainUsingAuxiliaryImage() {
|
@@ -390,6 +391,7 @@ void testUpdateDataSourceInDomainUsingAuxiliaryImage() {
|
390 | 391 | * Verify configured JMS and JDBC resources.
|
391 | 392 | */
|
392 | 393 | @Test
|
| 394 | + @Order(2) |
393 | 395 | @DisplayName("Test to update Base Weblogic Image Name")
|
394 | 396 | void testUpdateBaseImageName() {
|
395 | 397 | // get the original domain resource before update
|
@@ -1559,7 +1561,7 @@ private void checkApplicationIsAccessible(
|
1559 | 1561 | int replicaCount, String expectedResponse) {
|
1560 | 1562 | for (int i = 1; i <= replicaCount; i++) {
|
1561 | 1563 | int index = i;
|
1562 |
| - testUntil(withStandardRetryPolicy, |
| 1564 | + testUntil(withLongRetryPolicy, |
1563 | 1565 | () -> appAccessibleInPod(domainNamespace, managedServerPrefixDomain1 + index, "8001",
|
1564 | 1566 | "sample-war/index.jsp", expectedResponse + index),
|
1565 | 1567 | logger,
|
|
0 commit comments