diff --git a/tests/test_particle_restart/results.py b/tests/test_particle_restart/results.py index 2ad07add0c..515274f1ee 100644 --- a/tests/test_particle_restart/results.py +++ b/tests/test_particle_restart/results.py @@ -10,7 +10,7 @@ import particle_restart as pr if len(sys.argv) > 1: p = pr.Particle(sys.argv[1]) else: - p = pr.Particle('particle_10_394.binary') + p = pr.Particle('particle_12_192.binary') # set up output string outstr = '' diff --git a/tests/test_particle_restart/settings.xml b/tests/test_particle_restart/settings.xml index a6b5abbbae..e6b3756652 100644 --- a/tests/test_particle_restart/settings.xml +++ b/tests/test_particle_restart/settings.xml @@ -2,7 +2,7 @@ - 10 + 12 5 1000 diff --git a/tests/test_particle_restart/test_particle_restart.py b/tests/test_particle_restart/test_particle_restart.py index 6c5dcf0be2..ae55f2d72a 100644 --- a/tests/test_particle_restart/test_particle_restart.py +++ b/tests/test_particle_restart/test_particle_restart.py @@ -24,13 +24,13 @@ def test_run(): assert returncode == 0, 'OpenMC did not exit successfully.' def test_created_restart(): - particle = glob.glob(cwd + '/particle_10_394.*') + particle = glob.glob(cwd + '/particle_12_192.*') assert len(particle) == 1, 'Either multiple or no particle restart files exist.' assert particle[0].endswith('binary') or \ particle[0].endswith('h5'), 'Particle restart file not a binary or hdf5 file.' def test_results(): - particle = glob.glob(cwd + '/particle_10_394.*') + particle = glob.glob(cwd + '/particle_12_192.*') call(['python', 'results.py', particle[0]]) compare = filecmp.cmp('results_test.dat', 'results_true.dat') if not compare: @@ -38,7 +38,7 @@ def test_results(): assert compare, 'Results do not agree.' def test_run_restart(): - particle = glob.glob(cwd + '/particle_10_394.*') + particle = glob.glob(cwd + '/particle_12_192.*') proc = Popen([opts.exe, '-r', particle[0], cwd], stderr=PIPE, stdout=PIPE) stdout, stderr = proc.communicate() assert stderr == '', 'Particle restart not successful.'