Skip to content

Commit 5c06e0b

Browse files
authored
Fix flaky etcd2_client.test_quorum (#1540)
1 parent 429f86f commit 5c06e0b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/integration/etcd2_client_test.lua

+3-1
Original file line numberDiff line numberDiff line change
@@ -537,5 +537,7 @@ function g.test_quorum()
537537
t.assert_equals(client:check_quorum(), false)
538538

539539
g.etcd_a.process:kill('CONT')
540-
t.assert_equals(client:check_quorum(), true)
540+
t.helpers.retrying({}, function()
541+
t.assert_equals(client:check_quorum(), true)
542+
end)
541543
end

0 commit comments

Comments
 (0)