Skip to content

Commit

Permalink
Fix flaky Liveliness test (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
DariusIMP authored Dec 20, 2024
1 parent 91eb6be commit 0fa8ff8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class LivelinessTest {

val token = sessionA.liveliness().declareToken("test/liveliness".intoKeyExpr().getOrThrow()).getOrThrow()

Thread.sleep(1000)
var receivedReply: Reply? = null
sessionB.liveliness().get(keyExpr = "test/**".intoKeyExpr().getOrThrow(), callback = { reply: Reply ->
receivedReply = reply
Expand Down

0 comments on commit 0fa8ff8

Please sign in to comment.