Skip to content

Commit dff23bc

Browse files
committed
add timeout cuda test run provision vast
1 parent bd7e105 commit dff23bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/vast/provision.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ while true; do
222222
echo "==== compile cuda ======"
223223
eval $ssh_command "nvcc /tmp/cuda-tester.cu -o /tmp/cuda-tester"
224224
echo "==== run cuda ======"
225-
eval $ssh_command "/tmp/cuda-tester"
225+
eval $ssh_command "timeout 10s /tmp/cuda-tester"
226226
if [ $? -eq 0 ]; then
227227
cuda_ready=true
228228
break

0 commit comments

Comments
 (0)