Skip to content

Commit e36b3f4

Browse files
authored
Reduce flakiness of benchmark model tests (#2132)
Check min simulation time instead of mean.
1 parent 773f8d2 commit e36b3f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/benchmark-models/test_petab_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def main():
148148
]
149149
res = res_repeats[0]
150150

151-
times[label] = np.mean(
151+
times[label] = np.min(
152152
[
153153
sum(r.cpu_time + r.cpu_timeB for r in res[RDATAS]) / 1000
154154
# only forwards/backwards simulation

0 commit comments

Comments
 (0)