You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docusaurus/docs/ruby/parallel_tests.mdx
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,13 +87,13 @@ Create `bin/parallel_tests` and make it executable `chmod u+x`:
87
87
#!/bin/bash
88
88
89
89
handle_signal() {
90
-
local signal=$1
91
-
if [[ -n$knapsack_pro_pid ]];then
92
-
echo"KNAPSACK_PRO_CI_NODE_INDEX=$KNAPSACK_PRO_CI_NODE_INDEX Received signal $signal in bin/parallel_tests, terminating the Knapsack Pro process with TERM"
93
-
kill -TERM $knapsack_pro_pid
94
-
echo"KNAPSACK_PRO_CI_NODE_INDEX=$KNAPSACK_PRO_CI_NODE_INDEX Waiting for the Knapsack Pro process with PID $knapsack_pro_pid to terminate"
95
-
wait$knapsack_pro_pid
96
-
fi
90
+
local signal=$1
91
+
if [[ -n$knapsack_pro_pid ]];then
92
+
echo"KNAPSACK_PRO_CI_NODE_INDEX=$KNAPSACK_PRO_CI_NODE_INDEX Received signal $signal in bin/parallel_tests, terminating the Knapsack Pro process with TERM"
93
+
kill -TERM $knapsack_pro_pid
94
+
echo"KNAPSACK_PRO_CI_NODE_INDEX=$KNAPSACK_PRO_CI_NODE_INDEX Waiting for the Knapsack Pro process with PID $knapsack_pro_pid to terminate"
0 commit comments