Skip to content

Commit 42ee469

Browse files
fix(flagd): change retryBackoffMaxMs default for tests to 5s
Signed-off-by: Alexandra Oberaigner <[email protected]>
1 parent 51493a0 commit 42ee469

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

providers/flagd/e2e/inprocess_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
package e2e
44

55
import (
6+
flagd "github.com/open-feature/go-sdk-contrib/providers/flagd/pkg"
67
"testing"
78

89
"github.com/open-feature/go-sdk-contrib/tests/flagd/testframework"
@@ -17,6 +18,9 @@ func TestInProcessProviderE2E(t *testing.T) {
1718
runner := testframework.NewTestbedRunner(testframework.TestbedConfig{
1819
ResolverType: testframework.InProcess,
1920
TestbedConfig: "default",
21+
ExtraOptions: []flagd.ProviderOption{
22+
flagd.WithRetryBackoffMaxMs(5000),
23+
},
2024
})
2125
defer runner.Cleanup()
2226

tests/flagd/testframework/provider_steps.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ func (s *TestState) configureUnavailableProvider() error {
188188
func (s *TestState) configureForbiddenProvider() error {
189189
// Set an Envoy port which always responds with forbidden
190190
s.addProviderOption("port", "Integer", "9212")
191-
s.addProviderOption("retryBackoffMaxMs", "Integer", "3000") // Shorter backoff for testing
192191
return nil
193192
}
194193

0 commit comments

Comments
 (0)