command: fix node drain monitor case
This commit is contained in:
parent
4b64db3a0f
commit
b62825b49c
|
@ -249,7 +249,7 @@ func TestNodeDrainCommand_Monitor(t *testing.T) {
|
||||||
out = outBuf.String()
|
out = outBuf.String()
|
||||||
t.Logf("Output:\n%s", out)
|
t.Logf("Output:\n%s", out)
|
||||||
|
|
||||||
require.Contains(out, "marked all allocations for migration")
|
require.Contains(out, "No drain strategy set")
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestNodeDrainCommand_Fails(t *testing.T) {
|
func TestNodeDrainCommand_Fails(t *testing.T) {
|
||||||
|
|
Loading…
Reference in New Issue