Fix typo in test
This commit is contained in:
parent
fdc5aa5a50
commit
c301e696cf
|
@ -178,7 +178,7 @@ func TestAgent_ServerConfig(t *testing.T) {
|
||||||
t.Fatalf("expect 127.0.0.2, got: %s", addr)
|
t.Fatalf("expect 127.0.0.2, got: %s", addr)
|
||||||
}
|
}
|
||||||
if port := out.SerfConfig.MemberlistConfig.BindPort; port != 4004 {
|
if port := out.SerfConfig.MemberlistConfig.BindPort; port != 4004 {
|
||||||
t.Fatalf("expect 4648, got: ^d", port)
|
t.Fatalf("expect 4648, got: %d", port)
|
||||||
}
|
}
|
||||||
if addr := conf.Addresses.HTTP; addr != "127.0.0.2" {
|
if addr := conf.Addresses.HTTP; addr != "127.0.0.2" {
|
||||||
t.Fatalf("expect 127.0.0.2, got: %s", addr)
|
t.Fatalf("expect 127.0.0.2, got: %s", addr)
|
||||||
|
|
Loading…
Reference in a new issue