Skip to content

Commit 473a057

Browse files
committed
chore: fix another flaky test
Signed-off-by: Todd Baert <[email protected]>
1 parent 457da96 commit 473a057

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/test/java/dev/openfeature/sdk/HookSpecTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ void error_hook_must_run_if_resolution_details_returns_an_error_code() {
190190
.build());
191191

192192
OpenFeatureAPI api = OpenFeatureAPI.getInstance();
193-
FeatureProviderTestUtils.setFeatureProvider(provider);
194-
Client client = api.getClient();
193+
FeatureProviderTestUtils.setFeatureProvider("errorHookMustRun", provider);
194+
Client client = api.getClient("errorHookMustRun");
195195
client.getBooleanValue("key", false, invocationCtx,
196196
FlagEvaluationOptions.builder()
197197
.hook(hook)

0 commit comments

Comments
 (0)