Skip to content

Commit

Permalink
Mark scaled_pedestal tests as flaky
Browse files Browse the repository at this point in the history
these tests need to be reviewed, but for the time being they are
marked as flaky so they don't bother us.
  • Loading branch information
gonzaponte committed Nov 7, 2024
1 parent bec62bd commit 2033b7a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions invisible_cities/calib/spe_response_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ def dark_spectrum_global():
return parameters, pedestal + signal


@flaky(max_runs=2)
def test_scaled_dark_pedestal_pedestal(dark_spectrum_local):
(bins, nsamples, scale, poisson_mean,
pedestal_mean, pedestal_sigma,
Expand All @@ -211,6 +212,7 @@ def test_scaled_dark_pedestal_pedestal(dark_spectrum_local):
assert np.all(in_range(pull, -2.5, 2.5))


@flaky(max_runs=2)
def test_scaled_dark_pedestal_spe(dark_spectrum_global):
# Test that the spectrum we get is identical ignoring the pedestal
(bins, nsamples, scale, poisson_mean,
Expand Down

0 comments on commit 2033b7a

Please sign in to comment.