Skip to content

Commit

Permalink
Wait for single scheduled heartbeat
Browse files Browse the repository at this point in the history
  • Loading branch information
gatsinski committed Oct 18, 2020
1 parent 952bfb7 commit 8bf4101
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class FlowTests {
val flow = StartHeartbeatFlow()
node.startFlow(flow).get()

val sleepTime: Long = 6000
val sleepTime: Long = 1000
Thread.sleep(sleepTime)

val recordedTxs = node.transaction {
Expand All @@ -41,7 +41,7 @@ class FlowTests {
recordedTxs
}

val totalExpectedTransactions = 7
val totalExpectedTransactions = 2
assertEquals(totalExpectedTransactions, recordedTxs.size)
}
}

0 comments on commit 8bf4101

Please sign in to comment.