aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-01-09 22:37:27 -0800
committerGary Wu <gary.i.wu@huawei.com>2018-01-09 22:37:27 -0800
commit8d35f1c1aedb430fcd03293e4f37f5c0a683419d (patch)
tree5454ecb7c0dc2dc7ec06cfbc9f60c081f2ff0446 /test
parent51a9d6dd6f8c5db84b9fc4d1b355506a2029d6ee (diff)
Sleep up to 3 minutes to avoid disk contention
Change-Id: Ia3867a06ff88066484d2a1c1e60c16dc7521ec8c Issue-ID: INT-278 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'test')
-rwxr-xr-xtest/ete/labs/gwu/apt-proxy.sh2
1 files changed, 2 insertions, 0 deletions
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 <<EOF\
{\