From 2199a134a0b8862c38c85c1ea6c758714a90da1a Mon Sep 17 00:00:00 2001
From: Pierre Souchay
Date: Mon, 13 Apr 2020 16:02:42 +0200
Subject: [PATCH] More tolerant assert_alive_wan_member_count to fix unstable
tests
Example of failure (very frequent):
https://circleci.com/gh/hashicorp/consul/157985
---
test/integration/connect/envoy/helpers.bash | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/integration/connect/envoy/helpers.bash b/test/integration/connect/envoy/helpers.bash
index 6fa3c16e2f..1237f737b0 100755
--- a/test/integration/connect/envoy/helpers.bash
+++ b/test/integration/connect/envoy/helpers.bash
@@ -342,7 +342,7 @@ function get_healthy_service_count {
function assert_alive_wan_member_count {
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 ]
}