Skip to content

Commit

Permalink
Single workflow runner (#7106)
Browse files Browse the repository at this point in the history
  • Loading branch information
THWiseman committed Mar 29, 2023
1 parent 209f67d commit 6cd248b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ci/bin/testSingleWorkflowRunner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,12 @@ cmp <(jq -cS . actual.json) <(jq -cS . expected.json)
popd > /dev/null

# Test 3: program should exit with error in case if validation of command line arguments failed
# Redirect stderr for the expected cromwell crash so we don't agitate CI.
exec 3>&2
exec 2> /dev/null
java -jar "${CROMWELL_BUILD_CROMWELL_JAR}" run nonexistent.wdl &
pid=$!
exec 2>&3
sleep 10
if kill -0 $pid > /dev/null 2>&1; then
echo "ERROR: Process still exists"
Expand Down

0 comments on commit 6cd248b

Please sign in to comment.