Skip to content

Commit

Permalink
Hack state dump test which has become flakey...
Browse files Browse the repository at this point in the history
  • Loading branch information
benfitzpatrick committed Jul 22, 2016
1 parent ecb18ba commit 9cadab3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/restart/08-bad-state-dump.t
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ while [[ -e $HOME/.cylc/ports/$SUITE_NAME ]]; do
fi
sleep 1
done
sleep 5
__SCRIPT__
grep_ok 'state dump file not found:' "$SUITE_RUN_DIR/log/suite/err"
#-------------------------------------------------------------------------------
Expand All @@ -61,6 +62,7 @@ while [[ -e $HOME/.cylc/ports/$SUITE_NAME ]]; do
fi
sleep 1
done
sleep 5
__SCRIPT__
grep_ok 'ERROR, incomplete suite state dump' "$SUITE_RUN_DIR/log/suite/err"
#-------------------------------------------------------------------------------
Expand All @@ -78,6 +80,7 @@ while [[ -e $HOME/.cylc/ports/$SUITE_NAME ]]; do
fi
sleep 1
done
sleep 5
__SCRIPT__
grep_ok 'ERROR, incomplete suite state dump' "$SUITE_RUN_DIR/log/suite/err"
#-------------------------------------------------------------------------------
Expand All @@ -95,6 +98,7 @@ while [[ -e $HOME/.cylc/ports/$SUITE_NAME ]]; do
fi
sleep 1
done
sleep 5
__SCRIPT__
grep_ok 'Suite shutting down.*ERROR' "$SUITE_RUN_DIR/log/suite/log"
grep_ok 'ERROR: unknown task state for' "$SUITE_RUN_DIR/log/suite/err"
Expand All @@ -113,6 +117,7 @@ while [[ -e $HOME/.cylc/ports/$SUITE_NAME ]]; do
fi
sleep 1
done
sleep 5
__SCRIPT__
grep_ok 'Suite shutting down.*ERROR' "$SUITE_RUN_DIR/log/suite/log"
grep_ok 'ERROR: corrupted state dump' "$SUITE_RUN_DIR/log/suite/err"
Expand All @@ -131,6 +136,7 @@ while [[ -e $HOME/.cylc/ports/$SUITE_NAME ]]; do
fi
sleep 1
done
sleep 5
__SCRIPT__
grep_ok 'Suite shutting down.*ERROR' "$SUITE_RUN_DIR/log/suite/log"
grep_ok 'ERROR: corrupted state dump' "$SUITE_RUN_DIR/log/suite/err"
Expand Down

0 comments on commit 9cadab3

Please sign in to comment.