Skip to content

Commit 8fe6ea5

Browse files
authored
Corrected the test order (#2449)
* added test for ds update * fixed order of test anno
1 parent ce1ca58 commit 8fe6ea5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

integration-tests/src/test/java/oracle/weblogic/kubernetes/ItMiiCommonMount.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@
2424
import org.awaitility.core.ConditionFactory;
2525
import org.junit.jupiter.api.BeforeAll;
2626
import org.junit.jupiter.api.DisplayName;
27+
import org.junit.jupiter.api.MethodOrderer;
2728
import org.junit.jupiter.api.Order;
2829
import org.junit.jupiter.api.Test;
30+
import org.junit.jupiter.api.TestMethodOrder;
2931

3032
import static java.util.concurrent.TimeUnit.MINUTES;
3133
import static java.util.concurrent.TimeUnit.SECONDS;
@@ -71,6 +73,7 @@
7173
import static org.junit.jupiter.api.Assertions.assertTrue;
7274

7375
@DisplayName("Test to create model in image domain using common mount")
76+
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
7477
@IntegrationTest
7578
public class ItMiiCommonMount {
7679

@@ -238,7 +241,7 @@ public void testCreateDomainUsingMultipleCommonMounts() {
238241
@Test
239242
@Order(2)
240243
@DisplayName("Test to update data source url in the domain using common mount")
241-
public void testUpdateDataSourceInDomainUsingCommonMount1() {
244+
public void testUpdateDataSourceInDomainUsingCommonMount() {
242245

243246
Path multipleCMPath1 = Paths.get(RESULTS_ROOT, "multiplecmimage1");
244247
Path modelsPath1 = Paths.get(multipleCMPath1.toString(), "models");

0 commit comments

Comments
 (0)