diff options
author | 2016-09-20 17:56:28 +0800 | |
---|---|---|
committer | 2016-12-01 12:03:43 +0800 | |
commit | b7b37cfd508ca612c217e802b38b7a50d04e7e7e (patch) | |
tree | 0e1da516454affeeff292445959ba6f201adfa18 /tests/run.sh | |
parent | 69264fa32e7885be44667efa34c0c58cc110f5b6 (diff) |
remove `Debug = True when run Flask and add logger
JIRA: DOCTOR-79
Change-Id: I9193ec387af3b593b8f19d8f4b72ddec5c759bc0
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Diffstat (limited to 'tests/run.sh')
-rwxr-xr-x | tests/run.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run.sh b/tests/run.sh index 99e8feff..093d4e8c 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -489,8 +489,8 @@ END_TXT } calculate_notification_time() { - detected=$(grep "doctor monitor detected at" monitor.log | awk '{print $5}') - notified=$(grep "doctor consumer notified at" consumer.log | awk '{print $5}') + detected=$(grep "doctor monitor detected at" monitor.log | awk '{print $10}') + notified=$(grep "doctor consumer notified at" consumer.log | awk '{print $10}') if ! grep -q "doctor consumer notified at" consumer.log ; then echo "ERROR: consumer hasn't received fault notification." exit 1 |