Skip to content

Commit 4f46128

Browse files
committed
remove limit test
1 parent 8cce14e commit 4f46128

1 file changed

Lines changed: 0 additions & 27 deletions

File tree

‎tests/test_feature_flags.py‎

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -277,30 +277,3 @@ def reader():
277277
# shared resource. When deepcopying we should have exclusive access to the underlying
278278
# memory.
279279
assert error_occurred is False
280-
281-
282-
def test_flag_limit(sentry_init, capture_items):
283-
sentry_init(traces_sample_rate=1.0, trace_lifecycle="stream")
284-
285-
items = capture_items("span")
286-
287-
with sentry_sdk.start_span(name="hi"):
288-
with sentry_sdk.start_span(op="foo", name="bar"):
289-
add_feature_flag("0", True)
290-
add_feature_flag("1", True)
291-
add_feature_flag("2", True)
292-
add_feature_flag("3", True)
293-
add_feature_flag("4", True)
294-
add_feature_flag("5", True)
295-
add_feature_flag("6", True)
296-
add_feature_flag("7", True)
297-
add_feature_flag("8", True)
298-
add_feature_flag("9", True)
299-
add_feature_flag("10", True)
300-
301-
sentry_sdk.flush()
302-
303-
span = next(item.payload for item in items if item.payload.get("op") == "foo")
304-
for i in range(10):
305-
assert span["attributes"][f"flag.evaluation.{i}"] is True
306-
assert "flag.evaluation.10" not in span["attributes"]

0 commit comments

Comments
 (0)