Skip to content

Commit 267b0bf

Browse files
committed
fix
1 parent 942274a commit 267b0bf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,11 @@ public void testAuthWithCorrect() throws IOException {
7676
BanyanDBClient client = createClient("admin", "123456");
7777
client.connect();
7878
await().atMost(10, TimeUnit.SECONDS).untilAsserted(() -> {
79+
// get api version
80+
client.getAPIVersion();
7981
// list all groups
8082
List<BanyandbCommon.Group> groupList = client.findGroups();
81-
Assert.assertEquals(1, groupList.size());
82-
Assert.assertEquals("_monitoring", groupList.get(0).getMetadata().getName());
83+
Assert.assertEquals(0, groupList.size());
8384
});
8485
client.close();
8586
}

0 commit comments

Comments
 (0)