[None][infra] Fix slurm exitcode (#8585)

Signed-off-by: qqiao <qqiao@nvidia.com>
Signed-off-by: Emma Qiao <qqiao@nvidia.com>
This commit is contained in:
Emma Qiao 2025-10-23 21:46:00 +08:00 committed by GitHub
parent 3a5845e293
commit 7c1bca4563
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -99,10 +99,6 @@ echo "Full Command: $pytestCommand"
done
fi
# Turn off "exit on error" so the following lines always run
set +e
trap - ERR
eval $pytestCommand
echo "Rank${SLURM_PROCID} Pytest finished execution"