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:
Pierre Souchay 2020-04-13 16:02:42 +02:00
parent 1b4218a068
commit 2199a134a0
1 changed files with 1 additions and 1 deletions

View File

@ -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 ]
} }