mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 06:16:08 +00:00
agent: fix failing test
This commit is contained in:
parent
cfca160cd5
commit
10610d3d26
@ -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…
x
Reference in New Issue
Block a user