From 7b31eb56992911c59ad06e47aa21f4e6c33ed646 Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Mon, 19 Apr 2021 16:55:50 -0500 Subject: [PATCH] Increase number of batches for test_lib.py::test_reset --- tests/unit_tests/test_lib.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/unit_tests/test_lib.py b/tests/unit_tests/test_lib.py index 939de8720e..d1c07ce716 100644 --- a/tests/unit_tests/test_lib.py +++ b/tests/unit_tests/test_lib.py @@ -387,12 +387,12 @@ def test_reset(lib_run): openmc.lib.hard_reset() openmc.lib.simulation_init() try: - for i in range(10): + for i in range(20): openmc.lib.next_batch() # Make sure there are 5 realizations for the 5 active batches. - assert openmc.lib.num_realizations() == 5 - assert openmc.lib.tallies[2].num_realizations == 5 + assert openmc.lib.num_realizations() == 15 + assert openmc.lib.tallies[2].num_realizations == 15 _, keff_sd1 = openmc.lib.keff() tally_sd1 = openmc.lib.tallies[2].std_dev[0]