Skip to content

Commit eddfb4b

Browse files
committed
test(flags): clarify deterministic cache-size setup
1 parent 67f9781 commit eddfb4b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎posthog/test/test_feature_flags.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4275,8 +4275,9 @@ def test_capture_multiple_users_doesnt_out_of_memory(
42754275
self, patch_flags, patch_capture
42764276
):
42774277
client = Client(FAKE_TEST_API_KEY, personal_api_key=FAKE_TEST_API_KEY)
4278+
# Set on the instance to avoid relying on module-constant patching behavior
4279+
# across Python/runtime implementations.
42784280
client.distinct_ids_feature_flags_reported.max_size = 100
4279-
self.assertEqual(client.distinct_ids_feature_flags_reported.max_size, 100)
42804281
client.feature_flags = [
42814282
{
42824283
"id": 1,

0 commit comments

Comments
 (0)