From fb91a065ceb2309c153a508b5f424a7e79efe50a Mon Sep 17 00:00:00 2001 From: Anjum Fatima Date: Fri, 17 Jan 2025 10:58:16 -0600 Subject: [PATCH] Temporarily disabling CRIU security provider until CRIU security provider in OpenJ9 is enhanced to support wsSecurity --- .../ibm/ws/wssecurity/fat/cxf/sample/CxfSampleTests.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dev/com.ibm.ws.wssecurity_fat.wsscxf.1/fat/src/com/ibm/ws/wssecurity/fat/cxf/sample/CxfSampleTests.java b/dev/com.ibm.ws.wssecurity_fat.wsscxf.1/fat/src/com/ibm/ws/wssecurity/fat/cxf/sample/CxfSampleTests.java index a075780df1c..b049437a8da 100644 --- a/dev/com.ibm.ws.wssecurity_fat.wsscxf.1/fat/src/com/ibm/ws/wssecurity/fat/cxf/sample/CxfSampleTests.java +++ b/dev/com.ibm.ws.wssecurity_fat.wsscxf.1/fat/src/com/ibm/ws/wssecurity/fat/cxf/sample/CxfSampleTests.java @@ -22,7 +22,9 @@ import java.io.OutputStream; import java.nio.file.Path; import java.nio.file.Paths; +import java.util.ArrayList; import java.util.HashMap; +import java.util.List; import java.util.Map; import java.util.Properties; import java.util.Set; @@ -44,7 +46,6 @@ import componenttest.annotation.CheckpointTest; import componenttest.annotation.Server; -import componenttest.annotation.SkipForRepeat; import componenttest.custom.junit.runner.FATRunner; import componenttest.rules.repeater.CheckpointRule; import componenttest.rules.repeater.CheckpointRule.ServerMode; @@ -125,6 +126,10 @@ public static LibertyServer serverSetUp(ServerMode mode) throws Exception { //Environment variable values are not set before checkpoint. if (CheckpointRule.isActive()) { configureEnvVariable(server, emptyMap()); + //Temporarily disabling CRIU security provider until CRIU security provider in OpenJ9 is enhanced to support wsSecurity + List options = new ArrayList<>(); + options.add("-XX:-CRIUSecProvider"); + server.setJvmOptions(options); } return server; } @@ -282,7 +287,6 @@ public void testEchoService() throws Exception { } @Test - @SkipForRepeat({ CHECKPOINT_RULE }) public void testEcho4Service() throws Exception { String thisMethod = "testEcho4Service";