diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2018-01-09 22:37:27 -0800 |
---|---|---|
committer | Gary Wu <gary.i.wu@huawei.com> | 2018-01-10 20:24:02 +0000 |
commit | 53323368414770e1c161c97806c40e254ff1d330 (patch) | |
tree | 03b1e76fcda3233c7912d16a49b6704e5bd3a18d /test/ete/labs | |
parent | e040434116c939a082f60c178f88e3eb58852b75 (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>
(cherry picked from commit 8d35f1c1aedb430fcd03293e4f37f5c0a683419d)
Diffstat (limited to 'test/ete/labs')
-rwxr-xr-x | test/ete/labs/gwu/apt-proxy.sh | 2 |
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\ {\ |