Skip to content

Commit fe449f3

Browse files
authored
Exclude IT tests using voyager on OLCNE cert profile (#2535)
* Exclude IT tests using voyager on OLCNE cert profile
1 parent e74938f commit fe449f3

File tree

2 files changed

+11
-17
lines changed

2 files changed

+11
-17
lines changed

integration-tests/pom.xml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -309,39 +309,28 @@
309309
<properties>
310310
<skipITs>false</skipITs>
311311
<includes-failsafe>
312-
**/ItCoherenceTests,
313312
**/ItConfigDistributionStrategy,
314313
**/ItCrossDomainTransaction,
315314
**/ItElasticLogging,
316315
**/ItElasticLoggingFluentd,
317-
**/ItExternalRmiTunneling,
318-
**/ItInitContainers,
319316
**/ItIntrospectVersion,
320-
**/ItIstioCrossDomainTransaction,
321-
**/ItIstioDomainInImage,
322317
**/ItIstioDomainInPV,
323318
**/ItIstioMiiDomain,
324-
**/ItIstioTwoDomainsInImage,
325-
**/ItKubernetesEvents,
326-
**/ItManageNameSpace,
319+
**/ItMiiAuxiliaryImage,
320+
**/ItMiiAuxiliaryImageCluster,
321+
**/ItMiiSampleWlsAux,
322+
**/ItMiiServiceMigration,
327323
**/ItMiiDomain,
328-
**/ItMiiDomainModelInPV,
329324
**/ItMiiDynamicUpdate,
330-
**/ItMiiMultiModel,
331-
**/ItMiiSample,
325+
**/ItMiiSampleWlsMain,
332326
**/ItMiiUpdateDomainConfig,
333327
**/ItMonitoringExporter,
334-
**/ItOperatorRestart,
335328
**/ItParameterizedDomain,
336-
**/ItPodTemplates,
337-
**/ItPodsRestart,
338329
**/ItPodsShutdownOption,
339330
**/ItProductionSecureMode,
340331
**/ItWlsSamples,
341-
**/ItServerStartPolicy,
342332
**/ItSessionMigration,
343-
**/ItSystemResOverrides,
344-
**/ItUsabilityOperatorHelmChart
333+
**/ItSystemResOverrides
345334
</includes-failsafe>
346335
</properties>
347336
</profile>

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,8 @@ void testLivenessProbe() {
547547
true, "/bin/sh", "-c", destLocation + " " + serverName),
548548
String.format("Failed to execute script %s in pod %s namespace %s", destLocation,
549549
serverName, domainNamespace));
550+
logger.info("Command executed to kill server inside pod, exit value {0}, stdout {1}, stderr {2}",
551+
execResult.exitValue(), execResult.stdout(), execResult.stderr());
550552
assertTrue(execResult.exitValue() == 0,
551553
String.format("Failed to execute kill server inside pod, stderr %s stdout %s", destLocation,
552554
execResult.stderr(), execResult.stdout()));
@@ -1490,6 +1492,9 @@ private File createScriptToKillServer() throws IOException {
14901492
killServerScript.deleteOnExit();
14911493
try (FileWriter fw = new FileWriter(killServerScript)) {
14921494
fw.write("#!/bin/bash\n");
1495+
fw.write("jps\n");
1496+
fw.write("jps | grep Server\n");
1497+
fw.write("jps | grep Server | awk '{print $1}'\n");
14931498
fw.write("kill -9 `jps | grep Server | awk '{print $1}'`");
14941499
}
14951500
killServerScript.setExecutable(true, false);

0 commit comments

Comments
 (0)