Skip to content

Commit

Permalink
Fix flaky adaptive localization test by increasing the ensemble size
Browse files Browse the repository at this point in the history
  • Loading branch information
kvashchuka committed Nov 2, 2023
1 parent 4f2fdcc commit f83f22a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/unit_tests/analysis/test_adaptive_localization.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ def test_that_posterior_generalized_variance_increases_in_cutoff(copy_poly_case)

with open("poly.ert", "r+", encoding="utf-8") as f:
lines = f.readlines()
for i, line in enumerate(lines):
if "NUM_REALIZATIONS 100" in line:
lines[i] = "NUM_REALIZATIONS 1000\n"
break
lines.insert(2, random_seed_line)
lines.insert(9, set_adaptive_localization_cutoff1)

Expand Down

0 comments on commit f83f22a

Please sign in to comment.