From 53323368414770e1c161c97806c40e254ff1d330 Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Tue, 9 Jan 2018 22:37:27 -0800 Subject: Sleep up to 3 minutes to avoid disk contention Change-Id: Ia3867a06ff88066484d2a1c1e60c16dc7521ec8c Issue-ID: INT-278 Signed-off-by: Gary Wu (cherry picked from commit 8d35f1c1aedb430fcd03293e4f37f5c0a683419d) --- test/ete/labs/gwu/apt-proxy.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/ete/labs/gwu/apt-proxy.sh') diff --git a/test/ete/labs/gwu/apt-proxy.sh b/test/ete/labs/gwu/apt-proxy.sh index c771c711b..858c48be7 100755 --- a/test/ete/labs/gwu/apt-proxy.sh +++ b/test/ete/labs/gwu/apt-proxy.sh @@ -1,5 +1,7 @@ #!/bin/bash sed -i '/#!\/bin\/bash/a\ + # sleep up to 3 minutes to avoid disk contention\ + sleep $((RANDOM / 200))\ mkdir -p /etc/docker\ cat > /etc/docker/daemon.json <