Skip to content

Commit

Permalink
Trying to find minimal timeout in test_new_primary_has_wrong_clock to…
Browse files Browse the repository at this point in the history
… make it fail

Signed-off-by: Sergey Khoroshavin <[email protected]>
  • Loading branch information
Sergey Khoroshavin committed Mar 5, 2018
1 parent e29d990 commit 1133ee5
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ def test_new_primary_has_wrong_clock(tconf, looper, txnPoolNodeSet,

# Requests are sent
for _ in range(5):
sdk_send_random_requests(looper,
sdk_pool_handle,
sdk_wallet_client,
count=2)
looper.runFor(.2)
sdk_send_random_requests(looper,
sdk_pool_handle,
sdk_wallet_client,
count=2)
looper.runFor(2.)

def chk():
for node in [n for n in txnPoolNodeSet if n != faulty_node]:
Expand Down

0 comments on commit 1133ee5

Please sign in to comment.