Skip to content

Commit d6ce7b4

Browse files
committed
fix
1 parent 49c3183 commit d6ce7b4

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,10 @@ public class BanyanDBAuthTest {
5656
)
5757
.withCommand("standalone",
5858
"--auth-config-file", "/tmp/bydb_server_config.yaml",
59-
"--enable-health-auth", "true"
59+
"--enable-health-auth", "false"
6060
)
6161
.withExposedPorts(GRPC_PORT, HTTP_PORT)
62-
.waitingFor(Wait.forHttp("/api/healthz")
63-
.forPort(HTTP_PORT)
64-
.withHeader("Authorization", "Basic " + AUTH)
65-
.forStatusCode(200)
66-
.withStartupTimeout(Duration.ofSeconds(1000)));
62+
.waitingFor(Wait.forHttp("/api/healthz").forPort(HTTP_PORT));
6763

6864
@Test
6965
public void testAuthWithCorrect() throws IOException {

0 commit comments

Comments
 (0)