From: Tomi Juvonen Date: Thu, 9 Aug 2018 04:45:48 +0000 (+0000) Subject: Merge "Add tox and test case to testing document" X-Git-Tag: opnfv-7.0.0~10 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=dcbe7bf1c26052b0e95d209254e7273aa1eaace1;hp=a39f73774b2f819ff8d8a84abad1cae6a2d50b82;p=doctor.git Merge "Add tox and test case to testing document" --- diff --git a/doctor_tests/main.py b/doctor_tests/main.py index 61facb61..79480ca1 100644 --- a/doctor_tests/main.py +++ b/doctor_tests/main.py @@ -67,7 +67,7 @@ class DoctorTest(object): # injecting host failure... # NOTE (umar) add INTERFACE_NAME logic to host injection self.fault_management.start() - time.sleep(10) + time.sleep(30) # verify the test results # NOTE (umar) copy remote monitor.log file when monitor=collectd diff --git a/doctor_tests/scenario/fault_management.py b/doctor_tests/scenario/fault_management.py index b1fe8099..f8f53e8e 100644 --- a/doctor_tests/scenario/fault_management.py +++ b/doctor_tests/scenario/fault_management.py @@ -32,7 +32,7 @@ dev=$(sudo ip a | awk '/ {compute_ip}\//{{print $NF}}') sleep 1 sudo ip link set $dev down echo "doctor set link down at" $(date "+%s.%N") -sleep 10 +sleep 30 sudo ip link set $dev up sleep 1 """