Skip to content

Commit 669433e

Browse files
Update runTests.sh to not check pid when testcase was not started as was Skipped (#6742)
Signed-off-by: Andrew Leonard <andrew.m.leonard@ibm.com>
1 parent 0ddbbdc commit 669433e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

jck/interactives/arctic_tests/runTests.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -345,9 +345,11 @@ for i in "${active_versions[@]}"; do
345345
sleep $SLEEP_TIME
346346
fi
347347

348-
# Check testcase started successfully.
349-
ps -p $test_pid
350-
rc=$?
348+
# Check testcase started successfully if not Skipped.
349+
if [[ $skipped == false ]]; then
350+
ps -p $test_pid
351+
rc=$?
352+
fi
351353
if [[ $skipped == true ]] || [[ $rc != 0 ]]; then
352354
if [[ $skipped == false ]]; then
353355
echo "ERROR: Test class failed prior to playback."

0 commit comments

Comments
 (0)