Skip to content

Commit

Permalink
Test for the most problematic scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
adams85 committed Nov 13, 2023
1 parent 9f45459 commit 45089a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ConfigCatClientTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1079,7 +1079,7 @@ describe("ConfigCatClient", () => {
const configCatKernel: FakeConfigCatKernel = { configFetcher: new FakeConfigFetcher(), sdkType: "common", sdkVersion: "1.0.0" };

function createClients() {
const client = ConfigCatClient.get(sdkKey1, PollingMode.ManualPoll, {}, configCatKernel);
const client = ConfigCatClient.get(sdkKey1, PollingMode.AutoPoll, { maxInitWaitTimeSeconds: 0 }, configCatKernel);
client.on("configChanged", () => client.getValueAsync("flag", null));

return ConfigCatClient["instanceCache"].getAliveCount();
Expand Down

0 comments on commit 45089a0

Please sign in to comment.