Skip to content

Commit

Permalink
fix sdk test
Browse files Browse the repository at this point in the history
  • Loading branch information
crossoverJie committed Sep 12, 2024
1 parent 990d4c5 commit 81ac022
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public void createClient() throws Exception {
.userId(id)
.routeUrl(routeUrl)
.build();
TimeUnit.SECONDS.sleep(3);
ClientState.State state = client.getState();
Awaitility.await().atMost(10, TimeUnit.SECONDS)
.untilAsserted(() -> Assertions.assertEquals(ClientState.State.Ready, state));
Expand Down

0 comments on commit 81ac022

Please sign in to comment.