diff --git a/tests/unit/common.py b/tests/unit/common.py index eacb7bc85e4a..69ba4c2708ac 100644 --- a/tests/unit/common.py +++ b/tests/unit/common.py @@ -186,6 +186,7 @@ def _launch_daemonic_procs(self, num_procs): # Currently we see memory leak for tests that reuse distributed environment print("Ignoring reuse_dist_env and forcibly setting it to False") warn_reuse_dist_env = True + self.reuse_dist_env = False if self.reuse_dist_env: if num_procs not in self._pool_cache: