Skip to content

Commit 4c1367b

Browse files
test: Disable broken RQ test in newly-released RQ 2.0 (#3708)
See #3707
1 parent b6482f0 commit 4c1367b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/integrations/rq/test_rq.py

+6
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def _patch_rq_get_server_version(monkeypatch):
3535

3636

3737
def crashing_job(foo):
38+
print("RUNNING CRASHING JOB")
3839
1 / 0
3940

4041

@@ -254,6 +255,11 @@ def test_traces_sampler_gets_correct_values_in_sampling_context(
254255
@pytest.mark.skipif(
255256
parse_version(rq.__version__) < (1, 5), reason="At least rq-1.5 required"
256257
)
258+
@pytest.mark.skipif(
259+
parse_version(rq.__version__) >= (2,),
260+
reason="Test broke in RQ 2.0. Investigate and fix. "
261+
"See https://github.com/getsentry/sentry-python/issues/3707.",
262+
)
257263
def test_job_with_retries(sentry_init, capture_events):
258264
sentry_init(integrations=[RqIntegration()])
259265
events = capture_events()

0 commit comments

Comments
 (0)