Skip to content

Commit

Permalink
systemtests restapi: wait for Director to finish
Browse files Browse the repository at this point in the history
  • Loading branch information
joergsteffens committed Sep 28, 2023
1 parent fae4b06 commit 4333e67
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions systemtests/tests/restapi/testrunner
Expand Up @@ -163,6 +163,15 @@ endpoint_check PUT "control/directors/reload" "success" "" 1

api/restapi.sh stop

# wait for Director commands to finish
cat <<END_OF_DATA >"$tmp/bconcmds"
@$out /dev/null
status director
wait
status director
END_OF_DATA
run_bconsole

#check_for_zombie_jobs storage=File client=bareos-fd

stop_bareos
Expand Down

0 comments on commit 4333e67

Please sign in to comment.