agent: fix failing test
This commit is contained in:
parent
b7a75a2314
commit
3d712feba4
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue