Skip to content

Commit

Permalink
Switch back to old way of called nonSslRestHandler
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Perkins <[email protected]>
  • Loading branch information
cwperks committed Dec 20, 2023
1 parent 2b7d1ae commit 5a2ff86
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -291,10 +291,6 @@ public void testDefaultConfig() throws Exception {
@Test
public void testInvalidDefaultConfig() throws Exception {
try {
System.out.println("Existing defaultInitDirectory: " + System.getProperty("security.default_init.dir"));
System.out.println(
"Setting defaultInitDirectory: " + (new File(TEST_RESOURCE_RELATIVE_PATH + "invalid_config").getAbsolutePath())
);
final String defaultInitDirectory = ClusterHelper.updateDefaultDirectory(
new File(TEST_RESOURCE_RELATIVE_PATH + "invalid_config").getAbsolutePath()
);
Expand All @@ -307,8 +303,6 @@ public void testInvalidDefaultConfig() throws Exception {
rh.executeGetRequest("", encodeBasicHeader("admin", "admin")).getStatusCode()
);

System.out.println("Setting defaultInitDirectory: " + defaultInitDirectory);

ClusterHelper.updateDefaultDirectory(defaultInitDirectory);
restart(Settings.EMPTY, null, settings, false);
rh = nonSslRestHelper();
Expand Down

0 comments on commit 5a2ff86

Please sign in to comment.