diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml index 76131490f6d..51dd278d6eb 100644 --- a/integration-tests/pom.xml +++ b/integration-tests/pom.xml @@ -309,39 +309,28 @@ false - **/ItCoherenceTests, **/ItConfigDistributionStrategy, **/ItCrossDomainTransaction, **/ItElasticLogging, **/ItElasticLoggingFluentd, - **/ItExternalRmiTunneling, - **/ItInitContainers, **/ItIntrospectVersion, - **/ItIstioCrossDomainTransaction, - **/ItIstioDomainInImage, **/ItIstioDomainInPV, **/ItIstioMiiDomain, - **/ItIstioTwoDomainsInImage, - **/ItKubernetesEvents, - **/ItManageNameSpace, + **/ItMiiAuxiliaryImage, + **/ItMiiAuxiliaryImageCluster, + **/ItMiiSampleWlsAux, + **/ItMiiServiceMigration, **/ItMiiDomain, - **/ItMiiDomainModelInPV, **/ItMiiDynamicUpdate, - **/ItMiiMultiModel, - **/ItMiiSample, + **/ItMiiSampleWlsMain, **/ItMiiUpdateDomainConfig, **/ItMonitoringExporter, - **/ItOperatorRestart, **/ItParameterizedDomain, - **/ItPodTemplates, - **/ItPodsRestart, **/ItPodsShutdownOption, **/ItProductionSecureMode, **/ItWlsSamples, - **/ItServerStartPolicy, **/ItSessionMigration, - **/ItSystemResOverrides, - **/ItUsabilityOperatorHelmChart + **/ItSystemResOverrides diff --git a/integration-tests/src/test/java/oracle/weblogic/kubernetes/ItParameterizedDomain.java b/integration-tests/src/test/java/oracle/weblogic/kubernetes/ItParameterizedDomain.java index 3fc7a329c99..3561e1c0801 100644 --- a/integration-tests/src/test/java/oracle/weblogic/kubernetes/ItParameterizedDomain.java +++ b/integration-tests/src/test/java/oracle/weblogic/kubernetes/ItParameterizedDomain.java @@ -547,6 +547,8 @@ void testLivenessProbe() { true, "/bin/sh", "-c", destLocation + " " + serverName), String.format("Failed to execute script %s in pod %s namespace %s", destLocation, serverName, domainNamespace)); + logger.info("Command executed to kill server inside pod, exit value {0}, stdout {1}, stderr {2}", + execResult.exitValue(), execResult.stdout(), execResult.stderr()); assertTrue(execResult.exitValue() == 0, String.format("Failed to execute kill server inside pod, stderr %s stdout %s", destLocation, execResult.stderr(), execResult.stdout())); @@ -1490,6 +1492,9 @@ private File createScriptToKillServer() throws IOException { killServerScript.deleteOnExit(); try (FileWriter fw = new FileWriter(killServerScript)) { fw.write("#!/bin/bash\n"); + fw.write("jps\n"); + fw.write("jps | grep Server\n"); + fw.write("jps | grep Server | awk '{print $1}'\n"); fw.write("kill -9 `jps | grep Server | awk '{print $1}'`"); } killServerScript.setExecutable(true, false);