mirror of
https://github.com/status-im/consul.git
synced 2025-02-04 09:55:49 +00:00
agent: Fixing config merge test
This commit is contained in:
parent
666cf3c483
commit
c449f07b38
@ -878,6 +878,7 @@ func TestMergeConfig(t *testing.T) {
|
||||
EnableDebug: false,
|
||||
CheckUpdateIntervalRaw: "8m",
|
||||
RetryIntervalRaw: "10s",
|
||||
RetryIntervalWanRaw: "10s",
|
||||
}
|
||||
|
||||
b := &Config{
|
||||
@ -964,7 +965,7 @@ func TestMergeConfig(t *testing.T) {
|
||||
c := MergeConfig(a, b)
|
||||
|
||||
if !reflect.DeepEqual(c, b) {
|
||||
t.Fatalf("should be equal %v %v", c, b)
|
||||
t.Fatalf("should be equal %#v %#v", c, b)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user