diff --git a/nomad/node_endpoint_test.go b/nomad/node_endpoint_test.go index 1c748da83..d7d584434 100644 --- a/nomad/node_endpoint_test.go +++ b/nomad/node_endpoint_test.go @@ -2682,7 +2682,7 @@ func TestClientEndpoint_ListNodes_Blocking(t *testing.T) { if resp2.Index != 3 { t.Fatalf("Bad index: %d %d", resp2.Index, 3) } - if len(resp2.Nodes) != 1 || !resp2.Nodes[0].Drain { + if len(resp2.Nodes) != 1 { t.Fatalf("bad: %#v", resp2.Nodes) }