Skip to content

Commit ec4db42

Browse files
Adjust MC HIP-RA test settings to hopefully not randomly fail
1 parent ca4a004 commit ec4db42

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/geophires_monte_carlo_tests/MC_HIP_Settings_file.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ INPUT, Reservoir Temperature, uniform, 130, 170
55
INPUT, Rejection Temperature, uniform, 20, 33
66
OUTPUT, Producible Heat
77
OUTPUT, Producible Electricity
8-
ITERATIONS, 5
8+
ITERATIONS, 10

tests/geophires_monte_carlo_tests/test_geophires_monte_carlo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def test_hip_ra_monte_carlo(self):
129129
json_result = json.loads(f.read())
130130
self.assertIn('Producible Electricity', json_result)
131131
self.assertLess(json_result['Producible Electricity']['median'], 1000)
132-
self.assertGreater(json_result['Producible Electricity']['median'], 50)
132+
self.assertGreater(json_result['Producible Electricity']['median'], 20)
133133

134134
def _get_arg_file_path(self, arg_file):
135135
test_dir: Path = Path(os.path.abspath(__file__)).parent

0 commit comments

Comments
 (0)