agent: fix failing test

This commit is contained in:
Ryan Uber 2014-10-15 15:03:43 -07:00
parent b7a75a2314
commit 3d712feba4
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ func TestHTTPAgentServices(t *testing.T) {
t.Fatalf("Err: %v", err)
}
val := obj.(map[string]*structs.NodeService)
if len(val) != 1 {
if len(val) != 2 {
t.Fatalf("bad services: %v", obj)
}
if val["mysql"].Port != 5000 {