mirror of https://github.com/status-im/consul.git
More tolerant assert_alive_wan_member_count to fix unstable tests
Example of failure (very frequent): https://circleci.com/gh/hashicorp/consul/157985
This commit is contained in:
parent
1b4218a068
commit
2199a134a0
|
@ -342,7 +342,7 @@ function get_healthy_service_count {
|
||||||
|
|
||||||
function assert_alive_wan_member_count {
|
function assert_alive_wan_member_count {
|
||||||
local EXPECT_COUNT=$1
|
local EXPECT_COUNT=$1
|
||||||
run retry_default assert_alive_wan_member_count_once $EXPECT_COUNT
|
run retry_long assert_alive_wan_member_count_once $EXPECT_COUNT
|
||||||
[ "$status" -eq 0 ]
|
[ "$status" -eq 0 ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue