From d70bdd9b1b458d6bbffde62ee3a6d5fba2755b2e Mon Sep 17 00:00:00 2001
From: ericm <ericm>
Date: Thu, 2 Oct 2008 22:02:38 +0000
Subject: [PATCH] branch: HEAD let AT estimation cool down before doing AT
 tests. b=16990 r=nathan

---
 lustre/tests/replay-single.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lustre/tests/replay-single.sh b/lustre/tests/replay-single.sh
index 3f03f382c2..fa99f52e15 100755
--- a/lustre/tests/replay-single.sh
+++ b/lustre/tests/replay-single.sh
@@ -1513,6 +1513,10 @@ at_start()
         # speed up the timebase so we can check decreasing AT
 	do_facet mds "echo 8 >> $at_history"
 	do_facet ost1 "echo 8 >> $at_history"
+
+	# sleep for a while to cool down, should be > 8s and also allow
+	# at least one ping to be sent. simply use TIMEOUT to be safe.
+	sleep $TIMEOUT
     fi
 }
 
-- 
GitLab