From d13d2e8661a13c31ce3b9dd1019cccd5cfc9f4b5 Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Wed, 28 Jan 2015 14:19:19 -0800 Subject: [PATCH] Add a hacky sleep in an attempt to deflake a test. --- hack/e2e-suite/pd.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hack/e2e-suite/pd.sh b/hack/e2e-suite/pd.sh index c563d9f1c2b..d6e34f8b141 100755 --- a/hack/e2e-suite/pd.sh +++ b/hack/e2e-suite/pd.sh @@ -135,6 +135,11 @@ fi delete_pd_pod +# This is really horrible, but the PD detach doesn't always complete in time, and +# checking if it is detached via the GCE API is fairly unfriendly. So we sleep *sigh* +sleep 20 + + # Recreate the pod, this should re-mount the PD ${KUBECFG} -c ${config} create pods