Skip to content

Commit

Permalink
Modify defaults to prevent warnings from being added to the test output
Browse files Browse the repository at this point in the history
Removes the following messages from the output:
2022-08-25 12:51:21 SUITE-SecurityRolesTests-seed#[BB25A03A663EB2F7] WARN  Salt:48 - If you plan to use field masking pls configure compliance salt e1ukloTsQlOgPquJ to be a random string of 16 chars length identical on all nodes
2022-08-25 12:51:21 SUITE-SecurityRolesTests-seed#[BB25A03A663EB2F7] ERROR SinkProvider:64 - Default endpoint could not be created, auditlog will not work properly.
2022-08-25 12:51:21 SUITE-SecurityRolesTests-seed#[BB25A03A663EB2F7] WARN  AuditMessageRouter:61 - No default storage available, audit log may not work properly. Please check configuration.

Signed-off-by: Peter Nied <[email protected]>
  • Loading branch information
peternied authored and lukasz-soszynski-eliatra committed Sep 5, 2022
1 parent f7e0738 commit be0d933
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,8 @@ private Settings getMinimalOpenSearchSettings() {
.put("discovery.initial_state_timeout", "8s").putList("discovery.seed_hosts", seedHosts).put("transport.tcp.port", transportPort)
.put("http.port", httpPort).put("cluster.routing.allocation.disk.threshold_enabled", false)
.put("discovery.probe.connect_timeout", "10s").put("discovery.probe.handshake_timeout", "10s").put("http.cors.enabled", true)
.put("plugins.security.compliance.salt", "1234567890123456")
.put("plugins.security.audit.type", "noop")
.build();
}

Expand Down

0 comments on commit be0d933

Please sign in to comment.