We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0260ccb commit 6c38eb0Copy full SHA for 6c38eb0
src/test/java/org/apache/skywalking/banyandb/v1/client/BanyanDBAuthTest.java
@@ -51,9 +51,10 @@ public class BanyanDBAuthTest {
51
MountableFile.forClasspathResource("config.yaml"),
52
"/tmp/bydb_server_config.yaml"
53
)
54
- .withCommand("standalone",
55
- "--auth-config-file", "/tmp/bydb_server_config.yaml",
56
- "--enable-health-auth", "false"
+ .withCommand("sh", "-c",
+ "chmod 600 /tmp/bydb_server_config.yaml && exec standalone " +
+ "--auth-config-file /tmp/bydb_server_config.yaml " +
57
+ "--enable-health-auth false"
58
59
.withExposedPorts(GRPC_PORT, HTTP_PORT)
60
.waitingFor(Wait.forHttp("/api/healthz").forPort(HTTP_PORT));
0 commit comments