From 0d32c706641bcba52decfe4cd3095df9bef68af0 Mon Sep 17 00:00:00 2001 From: ljwoods2 <145226270+ljwoods2@users.noreply.github.com> Date: Wed, 30 Oct 2024 15:15:39 -0700 Subject: [PATCH] Update test_manual.py --- imdclient/tests/test_manual.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/imdclient/tests/test_manual.py b/imdclient/tests/test_manual.py index e6d52cf..df0403f 100644 --- a/imdclient/tests/test_manual.py +++ b/imdclient/tests/test_manual.py @@ -8,7 +8,7 @@ import numpy as np from .base import assert_allclose_with_logging from pathlib import Path - +import time import logging logger = logging.getLogger("imdclient.IMDClient") @@ -66,6 +66,8 @@ def imd_u(self, topol_path_arg, tmp_path): f"{tmp_path.as_posix()}/imd_test_traj.trr", atom_style="id type x y z", ) + # Give all MPI ranks a chance to release FD on traj + time.sleep(10) yield imd_u def test_compare_imd_to_true_traj(self, true_u, imd_u, first_frame_arg):