Update test to be less environment dependent
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
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