Skip to content

Commit d15af09

Browse files
tag tests for gate, samples, samples-gate (#2936)
* tag tests for gate, samples, samples-gate * removing tag from non-modular test Co-authored-by: Ryan Eberhard <[email protected]>
1 parent cc905d3 commit d15af09

22 files changed

+41
-10
lines changed

integration-tests/pom.xml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -473,14 +473,7 @@
473473
<id>wls-srg</id>
474474
<properties>
475475
<skipITs>false</skipITs>
476-
<includes-failsafe>
477-
**/ItKubernetesEvents,
478-
**/ItMiiAuxiliaryImage,
479-
**/ItMultiDomainModels,
480-
**/ItPodsRestart,
481-
**/ItTwoDomainsManagedByTwoOperators,
482-
**/ItWlsSamples
483-
</includes-failsafe>
476+
<groups>gate,samples-gate</groups>
484477
</properties>
485478
</profile>
486479
<profile>

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,10 @@
6565
import static org.junit.jupiter.api.Assertions.assertNotNull;
6666
import static org.junit.jupiter.api.Assertions.assertTrue;
6767

68-
// Test to create a WebLogic domain with Coherence, build the Coherence proxy client program
69-
// which load and verify the cache.
68+
/**
69+
* Test to create a WebLogic domain with Coherence, build the Coherence proxy client program
70+
* which load and verify the cache.
71+
*/
7072
@DisplayName("Test to create a WebLogic domain with Coherence and verify the use of Coherence cache service")
7173
@IntegrationTest
7274
@Tag("okdenv")

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@
8484
import static org.junit.jupiter.api.Assertions.assertNotNull;
8585
import static org.junit.jupiter.api.Assertions.assertTrue;
8686

87+
/**
88+
* Cross domain transaction tests.
89+
*/
8790
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
8891
@DisplayName("Verify cross domain transaction is successful")
8992
@IntegrationTest

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import org.awaitility.core.ConditionFactory;
2222
import org.junit.jupiter.api.BeforeAll;
2323
import org.junit.jupiter.api.DisplayName;
24+
import org.junit.jupiter.api.Tag;
2425
import org.junit.jupiter.params.ParameterizedTest;
2526
import org.junit.jupiter.params.provider.MethodSource;
2627

@@ -63,6 +64,7 @@
6364
*/
6465
@DisplayName("Verify the JRF domain-in-image sample using wlst and wdt")
6566
@IntegrationTest
67+
@Tag("samples")
6668
public class ItFmwDiiSample {
6769

6870
private static String dbNamespace = null;

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import org.awaitility.core.ConditionFactory;
2020
import org.junit.jupiter.api.BeforeAll;
2121
import org.junit.jupiter.api.DisplayName;
22+
import org.junit.jupiter.api.Tag;
2223
import org.junit.jupiter.params.ParameterizedTest;
2324
import org.junit.jupiter.params.provider.MethodSource;
2425

@@ -62,6 +63,7 @@
6263
*/
6364
@DisplayName("Verify the JRF domain on pv sample using wlst and wdt")
6465
@IntegrationTest
66+
@Tag("samples")
6567
public class ItFmwSample {
6668

6769
private static String dbNamespace = null;

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ void testAdminServerInitContainer() {
268268
*/
269269
@Test
270270
@DisplayName("Add initContainers to cluster1 and verify all managed server pods go through Init state ")
271+
@Tag("gate")
271272
void testClusterInitContainer() {
272273
assertTrue(createVerifyDomain(domain3Namespace, domain3Uid, "clusters"),
273274
"can't start or verify domain in namespace " + domain3Namespace);

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ public static void initAll(@Namespaces(2) List<String> namespaces) {
214214
@Order(1)
215215
@Test
216216
@DisplayName("Test introSpectVersion starting a introspector and updating domain status")
217+
@Tag("gate")
217218
void testDomainIntrospectVersionNotRolling() {
218219

219220
final String clusterName = "mycluster";

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
import org.junit.jupiter.api.DisplayName;
3535
import org.junit.jupiter.api.MethodOrderer;
3636
import org.junit.jupiter.api.Order;
37+
import org.junit.jupiter.api.Tag;
3738
import org.junit.jupiter.api.Test;
3839
import org.junit.jupiter.api.TestMethodOrder;
3940

@@ -145,6 +146,7 @@ public static void initAll(@Namespaces(2) List<String> namespaces) {
145146
@Test
146147
@Order(1)
147148
@DisplayName("Create WebLogic Domain with mii model with istio")
149+
@Tag("gate")
148150
void testIstioModelInImage() {
149151

150152
// Create the repo secret to pull the image

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
import org.junit.jupiter.api.DisplayName;
4646
import org.junit.jupiter.api.MethodOrderer;
4747
import org.junit.jupiter.api.Order;
48+
import org.junit.jupiter.api.Tag;
4849
import org.junit.jupiter.api.Test;
4950
import org.junit.jupiter.api.TestMethodOrder;
5051
import org.junit.jupiter.params.ParameterizedTest;
@@ -214,6 +215,7 @@ public static void initAll(@Namespaces(6) List<String> namespaces) {
214215
@Order(1)
215216
@Test
216217
@DisplayName("Test domain events for various successful domain life cycle changes")
218+
@Tag("gate")
217219
void testDomainK8SEventsSuccess() {
218220
OffsetDateTime timestamp = now();
219221
logger.info("Creating domain");

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ public static void initAll(@Namespaces(2) List<String> namespaces) {
134134
*/
135135
@Test
136136
@DisplayName("Test customization of the liveness probe")
137+
@Tag("gate")
137138
void testCustomLivenessProbeTriggered() {
138139
Domain domain1 = assertDoesNotThrow(() -> getDomainCustomResource(domainUid, domainNamespace),
139140
String.format("getDomainCustomResource failed with ApiException when tried to get domain %s in namespace %s",

0 commit comments

Comments
 (0)