mirror of
https://github.com/LITW-Refined/GTNH-Actions-Workflows.git
synced 2025-12-23 11:18:32 +00:00
Try to detect if the server test run didn't shut down cleanly (#42)
Co-authored-by: Maya <10861407+serenibyss@users.noreply.github.com>
This commit is contained in:
@@ -39,6 +39,14 @@ if grep --quiet --fixed-strings 'The state engine was in incorrect state ERRORED
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if grep --quiet --fixed-strings 'Exception stopping the server' "$SERVERLOG"; then
|
||||
{
|
||||
printf "Server didn't shut down cleanly:\n"
|
||||
cat server.log
|
||||
} >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! grep --quiet --perl-regexp --only-matching '.+Done \(.+\)\! For help, type "help" or "\?"' "$SERVERLOG"; then
|
||||
{
|
||||
printf 'Server did not finish startup:'
|
||||
|
||||
Reference in New Issue
Block a user