From 6fbbfd7287efbea3335ae8a378caad15c0451c88 Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Mon, 18 May 2015 13:45:11 -0700 Subject: [PATCH] integration: give zk some extra time. Signed-off-by: Andrea Luzzardi --- test/integration/discovery/zk.bats | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/integration/discovery/zk.bats b/test/integration/discovery/zk.bats index 2c933630ee..0ab9d0bbca 100644 --- a/test/integration/discovery/zk.bats +++ b/test/integration/discovery/zk.bats @@ -36,11 +36,11 @@ function teardown() { # Start 2 engines and make them join the cluster. start_docker 2 swarm_join "$DISCOVERY" - retry 5 1 discovery_check_swarm_list "$DISCOVERY" + retry 10 1 discovery_check_swarm_list "$DISCOVERY" # Then, start a manager and ensure it sees all the engines. swarm_manage "$DISCOVERY" - retry 5 1 discovery_check_swarm_info + retry 10 1 discovery_check_swarm_info } @test "zk discovery: watch for changes" { @@ -55,8 +55,8 @@ function teardown() { # Add engines to the cluster and make sure it's picked up by swarm. start_docker 2 swarm_join "$DISCOVERY" - retry 5 1 discovery_check_swarm_list "$DISCOVERY" - retry 5 1 discovery_check_swarm_info + retry 10 1 discovery_check_swarm_list "$DISCOVERY" + retry 10 1 discovery_check_swarm_info } @test "zk discovery: failure" { @@ -76,6 +76,6 @@ function teardown() { start_store # After a while, `join` and `manage` should reach the store. - retry 5 1 discovery_check_swarm_list "$DISCOVERY" - retry 5 1 discovery_check_swarm_info + retry 10 1 discovery_check_swarm_list "$DISCOVERY" + retry 10 1 discovery_check_swarm_info }