Skip to content

Commit

Permalink
Temporarily disabling CRIU security provider until CRIU security prov…
Browse files Browse the repository at this point in the history
…ider in OpenJ9 is enhanced to support wsSecurity
  • Loading branch information
anjumfatima90 committed Jan 22, 2025
1 parent 2e468b8 commit fb91a06
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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<String> options = new ArrayList<>();
options.add("-XX:-CRIUSecProvider");
server.setJvmOptions(options);
}
return server;
}
Expand Down Expand Up @@ -282,7 +287,6 @@ public void testEchoService() throws Exception {
}

@Test
@SkipForRepeat({ CHECKPOINT_RULE })
public void testEcho4Service() throws Exception {
String thisMethod = "testEcho4Service";

Expand Down

0 comments on commit fb91a06

Please sign in to comment.