Fix node drain test

This commit is contained in:
Preetha Appan 2019-06-26 16:12:07 -05:00
parent 23319e04d6
commit ff1b80dba6
No known key found for this signature in database
GPG Key ID: 9F7C19990A50EAFC
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}