From e929ba16de2049ea468bfdcf4129603eb0ec6d50 Mon Sep 17 00:00:00 2001 From: Manuel Sabban Date: Fri, 10 Sep 2021 17:42:46 +0200 Subject: [PATCH] add sleep (#969) Co-authored-by: sabban <15465465+sabban@users.noreply.github.com> --- scripts/func_tests/tests_post-install_7_plugin.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/func_tests/tests_post-install_7_plugin.sh b/scripts/func_tests/tests_post-install_7_plugin.sh index c2babd068..4988b7d99 100755 --- a/scripts/func_tests/tests_post-install_7_plugin.sh +++ b/scripts/func_tests/tests_post-install_7_plugin.sh @@ -55,10 +55,10 @@ function run_tests() { cleanup_tests fail "expected 0 log lines fom mock http server before adding decisions" fi - + sleep 2s ${CSCLI} decisions add --ip 1.2.3.4 --duration 30s ${CSCLI} decisions add --ip 1.2.3.5 --duration 30s - sleep 5 + sleep 5s cat mock_http_server_logs.log log_line_count=$(cat mock_http_server_logs.log | wc -l) if [[ $log_line_count -ne "1" ]] ; then