Skip to content

Commit

Permalink
DONOTMERGE
Browse files Browse the repository at this point in the history
  • Loading branch information
rpelisse committed Jun 27, 2024
1 parent 568d2f1 commit 999dc2b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ansible/molecule/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,14 @@ runAllMoleculeScenariosInParralel() {
echo PID:${pids[${scenario_name}]} for scenario ${scenario_name}
done

sleep 300

MOLECULE_RUN_STATUS=0
for pid in ${pids[@]}
do
wait "${pid}"
scenario_exit_status=${?}
echo "PID(${pid}) returned: ${scenario_exit_status}"
echo "PID ${pid} returned: ${scenario_exit_status}"
if [ "${scenario_exit_status}" -ne 0 ]; then
MOLECULE_RUN_STATUS="${scenario_exit_status}"
fi
Expand Down

0 comments on commit 999dc2b

Please sign in to comment.