mirror of https://github.com/status-im/consul.git
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…
Reference in New Issue