Skip to content

Commit

Permalink
Fix settings
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Liang <[email protected]>
  • Loading branch information
RyanL1997 committed Mar 30, 2023
1 parent 4742b90 commit 6575a27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/test/java/org/opensearch/security/ssl/OpenSSLTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,7 @@ public void testNodeClientSSLwithOpenSslTLSv13() throws Exception {

final Settings tcSettings = Settings.builder().put("cluster.name", clusterInfo.clustername).put("path.home", "/tmp")
.put("node.name", "client_node_" + new Random().nextInt())
.put("node.data", false)
.put("node.master", false)
.put("node.ingest", false)
.put("node.roles", "")
.put("path.data", "./target/data/" + clusterInfo.clustername + "/ssl/data")
.put("path.logs", "./target/data/" + clusterInfo.clustername + "/ssl/logs")
.put("path.home", "./target")
Expand Down
4 changes: 1 addition & 3 deletions src/test/java/org/opensearch/security/ssl/SSLTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -530,9 +530,7 @@ public void testNodeClientSSL() throws Exception {

final Settings tcSettings = Settings.builder().put("cluster.name", clusterInfo.clustername).put("path.home", ".")
.put("node.name", "client_node_" + new Random().nextInt())
.put("node.data", false)
.put("node.master", false)
.put("node.ingest", false)
.put("node.roles", "")
.put("path.data", "./target/data/"+clusterInfo.clustername+"/ssl/data")
.put("path.logs", "./target/data/"+clusterInfo.clustername+"/ssl/logs")
.put("path.home", "./target")
Expand Down

0 comments on commit 6575a27

Please sign in to comment.