Skip to content

Commit

Permalink
add sleep (#969)
Browse files Browse the repository at this point in the history
Co-authored-by: sabban <[email protected]>
  • Loading branch information
sabban and sabban committed Sep 10, 2021
1 parent 88846ac commit e929ba1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/func_tests/tests_post-install_7_plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e929ba1

Please sign in to comment.