Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
eye committed May 9, 2023
1 parent aa5bf77 commit 84a9395
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ void getOrCreateKeepAliveLeaseTest() throws Exception {

client.getLeaseClient().revoke(first).get();

Optional<Long> keepAliveLease = etcdKeepAliveLeaseManager.getKeepAliveLease("/test");
// wait for lease expire
Thread.sleep(3000);
Optional<Long> keepAliveLease = etcdKeepAliveLeaseManager.getKeepAliveLease("/test");
Assertions.assertFalse(keepAliveLease.isPresent());
}

Expand Down

0 comments on commit 84a9395

Please sign in to comment.