File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,11 @@ echo "=========================================="
2222
2323# Run both jobs with monitoring using dedicated script from PR
2424# Use stdbuf for line-buffered output and prefix each line for clarity
25- (stdbuf -oL -eL bash " ${SCRIPT_DIR} /submit_and_monitor_bench.sh" pr " $device " " $interface " " $cluster " 2>&1 | while IFS= read -r line; do echo " [PR] $line " ; done) &
25+ (set -o pipefail ; stdbuf -oL -eL bash " ${SCRIPT_DIR} /submit_and_monitor_bench.sh" pr " $device " " $interface " " $cluster " 2>&1 | while IFS= read -r line; do echo " [PR] $line " ; done) &
2626pr_pid=$!
2727echo " PR job started in background (PID: $pr_pid )"
2828
29- (stdbuf -oL -eL bash " ${SCRIPT_DIR} /submit_and_monitor_bench.sh" master " $device " " $interface " " $cluster " 2>&1 | while IFS= read -r line; do echo " [MASTER] $line " ; done) &
29+ (set -o pipefail ; stdbuf -oL -eL bash " ${SCRIPT_DIR} /submit_and_monitor_bench.sh" master " $device " " $interface " " $cluster " 2>&1 | while IFS= read -r line; do echo " [MASTER] $line " ; done) &
3030master_pid=$!
3131echo " Master job started in background (PID: $master_pid )"
3232
You can’t perform that action at this time.
0 commit comments