diff --git a/providers/openfeature-ofrep-provider/spec/openfeature/ofrep/provider/client_spec.rb b/providers/openfeature-ofrep-provider/spec/openfeature/ofrep/provider/client_spec.rb index 0a94314..649f3b5 100644 --- a/providers/openfeature-ofrep-provider/spec/openfeature/ofrep/provider/client_spec.rb +++ b/providers/openfeature-ofrep-provider/spec/openfeature/ofrep/provider/client_spec.rb @@ -173,7 +173,7 @@ it "blocks subsequent calls when rate limited with Retry-After header (date)" do stub_request(:post, "http://localhost:8080/ofrep/v1/evaluate/flags/my_flag") - .to_return(status: 429, headers: {"Retry-After" => (Time.now + 1).httpdate}) + .to_return(status: 429, headers: {"Retry-After" => (Time.now + 60).httpdate}) expect { client.evaluate(flag_key: "my_flag", evaluation_context: default_evaluation_context)