Skip to content

Commit

Permalink
Restore the exit codes to the v0.42.0 values (#2897)
Browse files Browse the repository at this point in the history
The only thing different is the meaning of the 103 exit code. It used to be `GenericEngine`, i.e. "the test died from an unknown cause", and will now be used for the well-defined `ScriptStoppedFromRESTAPI` error.
  • Loading branch information
na-- authored Feb 2, 2023
1 parent b85d09d commit b750e20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions errext/exitcodes/codes.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ const (
SetupTimeout ExitCode = 100
TeardownTimeout ExitCode = 101
GenericTimeout ExitCode = 102 // TODO: remove?
CannotStartRESTAPI ExitCode = 103
ScriptStoppedFromRESTAPI ExitCode = 103
InvalidConfig ExitCode = 104
ExternalAbort ExitCode = 105
ScriptStoppedFromRESTAPI ExitCode = 106
CannotStartRESTAPI ExitCode = 106
ScriptException ExitCode = 107
ScriptAborted ExitCode = 108
)

0 comments on commit b750e20

Please sign in to comment.