Skip to content

Commit

Permalink
Enable "Expected exit codes" for ark and rust
Browse files Browse the repository at this point in the history
They return 1 instead of 0 when they are terminated
  • Loading branch information
LordRalex committed Dec 7, 2023
1 parent 0506e34 commit c2098d6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion ark/ark.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@
"command": "./ShooterGame/Binaries/Linux/ShooterGameServer ${mapname}?listen?SessionName=${sessionname}?ServerAdminPassword=${serveradminpassword}?MultiHome=${ip}?Port=${port}?QueryPort=${queryport}?MaxPlayers=${maxplayers} -server ${exclusive}",
"stopCode": 2,
"stdin": {},
"stdout": {}
"stdout": {},
"expectedExitCode": 1
},
"environment": {
"type": "host"
Expand Down
2 changes: 0 additions & 2 deletions ark/data.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
[
{
"name": "ark",
"ignoreExitCode": true,
"environment": {
"type": "host"
}
},
{
"name": "ark-docker",
"ignoreExitCode": true,
"environment": {
"type": "docker",
"image": "steamcmd/steamcmd"
Expand Down
3 changes: 2 additions & 1 deletion rust/rust.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@
"port": "${RConPort}",
"password": "${RConPassword}"
},
"stdout": {}
"stdout": {},
"expectedExitCode": 1
},
"environment": {
"type": "host"
Expand Down

0 comments on commit c2098d6

Please sign in to comment.