mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 06:16:08 +00:00
local state: fix failing tests
This commit is contained in:
parent
1af52bf7be
commit
76682da4a0
@ -911,7 +911,7 @@ func TestAgent_PersistService(t *testing.T) {
|
|||||||
if got, want := restored.Token, "mytoken"; got != want {
|
if got, want := restored.Token, "mytoken"; got != want {
|
||||||
t.Fatalf("got token %q want %q", got, want)
|
t.Fatalf("got token %q want %q", got, want)
|
||||||
}
|
}
|
||||||
if got, want := restored.Service.Port, 8081; got != want {
|
if got, want := restored.Service.Port, 8001; got != want {
|
||||||
t.Fatalf("got port %d want %d", got, want)
|
t.Fatalf("got port %d want %d", got, want)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user