summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien <zhang.jun3g@zte.com.cn>2016-12-27 18:27:34 +0800
committerJulien <zhang.jun3g@zte.com.cn>2016-12-28 16:00:37 +0800
commitbfd645c60af3bdefae2984636fcb8aae1436b26f (patch)
tree0dd8c8eeea1e1179d7020704534fe0d91af180aa
parentcf5a27a4bae9a087cd127aae8398a54ff69a5b73 (diff)
Add timelog when set network down
Add timelog for T00 refering to the definition in 'profiler.py' JIRA: DOCTOR-89 Change-Id: I793f03e09bb7be31ba45e79ed5c4b4cb2549e9fb Signed-off-by: Julien-zte <zhang.jun3g@zte.com.cn>
-rwxr-xr-xtests/run.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/run.sh b/tests/run.sh
index 49011201..1b21f09f 100755
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -236,6 +236,7 @@ inject_failure() {
dev=$(sudo ip a | awk '/ @COMPUTE_IP@\//{print $7}')
sleep 1
sudo ip link set $dev down
+echo "doctor set host down at" $(date "+%s.%N")
sleep 180
sudo ip link set $dev up
sleep 1