code review feedback

This commit is contained in:
Chelsea Holland Komlo
2018-03-11 21:00:13 -04:00
committed by Alex Dadgar
parent 3f561c3870
commit 6eb9911caf
10 changed files with 97 additions and 89 deletions

View File

@@ -396,7 +396,7 @@ func TestHTTP_NodeQuery(t *testing.T) {
if n.ID != node.ID {
t.Fatalf("bad: %#v", n)
}
if len(n.NodeEvents) != 1 {
if len(n.NodeEvents) < 1 {
t.Fatalf("Expected node registration event to be populated: %#v", n)
}
if n.NodeEvents[0].Message != "Node Registered" {