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
2e6cd9e11a
commit
a3da31c86a
|
@ -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