Skip to content

Commit 6c38eb0

Browse files
committed
lint
1 parent 0260ccb commit 6c38eb0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/test/java/org/apache/skywalking/banyandb/v1/client/BanyanDBAuthTest.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,10 @@ public class BanyanDBAuthTest {
5151
MountableFile.forClasspathResource("config.yaml"),
5252
"/tmp/bydb_server_config.yaml"
5353
)
54-
.withCommand("standalone",
55-
"--auth-config-file", "/tmp/bydb_server_config.yaml",
56-
"--enable-health-auth", "false"
54+
.withCommand("sh", "-c",
55+
"chmod 600 /tmp/bydb_server_config.yaml && exec standalone " +
56+
"--auth-config-file /tmp/bydb_server_config.yaml " +
57+
"--enable-health-auth false"
5758
)
5859
.withExposedPorts(GRPC_PORT, HTTP_PORT)
5960
.waitingFor(Wait.forHttp("/api/healthz").forPort(HTTP_PORT));

0 commit comments

Comments
 (0)