mirror of
https://github.com/kemko/nomad.git
synced 2026-01-03 17:05:43 +03:00
Update agent_endpoint_test
This commit is contained in:
@@ -149,7 +149,7 @@ func TestHTTP_AgentSetServers(t *testing.T) {
|
||||
if n := len(servers); n != 2 {
|
||||
t.Fatalf("expected 2 servers, got: %d", n)
|
||||
}
|
||||
if servers[0] != "foo" || servers[1] != "bar" {
|
||||
if servers[0] != "foo:4647" || servers[1] != "bar:4647" {
|
||||
t.Fatalf("bad servers result: %v", servers)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user