From e15d89c6da3366627bc814c2d2c3cbf491e30265 Mon Sep 17 00:00:00 2001 From: Maliz Date: Mon, 15 May 2023 11:47:23 -0700 Subject: [PATCH] fix test on 1.15.x branch --- agent/structs/config_entry_test.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/agent/structs/config_entry_test.go b/agent/structs/config_entry_test.go index 2a270f6662af..2591d5d1ff8e 100644 --- a/agent/structs/config_entry_test.go +++ b/agent/structs/config_entry_test.go @@ -499,8 +499,11 @@ func TestDecodeConfigEntry(t *testing.T) { { Name: "redis", PassiveHealthCheck: &PassiveHealthCheck{ - MaxFailures: 3, - Interval: 2 * time.Second, + MaxFailures: 3, + Interval: 2 * time.Second, + EnforcingConsecutive5xx: uintPointer(4), + MaxEjectionPercent: uintPointer(5), + BaseEjectionTime: durationPointer(6 * time.Second), }, }, {