summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfumingwei <[email protected]>2021-09-16 14:25:11 +0800
committerfumingwei <[email protected]>2021-09-16 14:25:11 +0800
commit5d64951c47da46b187671f04c2279d9e0943b41c (patch)
treec763b25784c7a498cdd8a2e334b29fed1595fb00
parent516ff30d98530a80e4aef760e2a932f1ebd52135 (diff)
bugfix:TSG-7792:暂时增加sleep 10s解决启动自检服务后,立即执行自检case执行,自检bypass case失败问题v21.09.4
-rw-r--r--scripts/tsg-diagnose-oneshot3
-rw-r--r--scripts/tsg-diagnose-periodical3
2 files changed, 4 insertions, 2 deletions
diff --git a/scripts/tsg-diagnose-oneshot b/scripts/tsg-diagnose-oneshot
index 04511a6..b1ee4d4 100644
--- a/scripts/tsg-diagnose-oneshot
+++ b/scripts/tsg-diagnose-oneshot
@@ -1,3 +1,4 @@
-#!/bin/bash -xe
+#!/bin/bash -e
systemctl start tsg-diagnose
+sleep 10
docker exec -it dign-client /bin/sh -c "python bin/client.py" \ No newline at end of file
diff --git a/scripts/tsg-diagnose-periodical b/scripts/tsg-diagnose-periodical
index b596076..127a54e 100644
--- a/scripts/tsg-diagnose-periodical
+++ b/scripts/tsg-diagnose-periodical
@@ -1,3 +1,4 @@
-#!/bin/bash -xe
+#!/bin/bash -e
systemctl start tsg-diagnose
+sleep 10
docker exec -it dign-client /bin/sh -c "python bin/client.py -l" \ No newline at end of file