Update test to be less environment dependent
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
971710df84
commit
05c0e18c37
@ -269,8 +269,8 @@ func TestMonitorCheck(t *testing.T) {
|
||||
"Test failed command",
|
||||
},
|
||||
{
|
||||
Monitor{CommandShell: "total failure"},
|
||||
expected{isSuccess: false, hasNotice: true, lastOutput: "sh: total: command not found\n"},
|
||||
Monitor{CommandShell: "false"},
|
||||
expected{isSuccess: false, hasNotice: true, lastOutput: ""},
|
||||
"Test failed command shell",
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user