File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ class PostgresConnTests(unittest.TestCase):
1919 @staticmethod
2020 def setUpClass () -> None :
2121 GymlibIntegtestManager .set_up_workspace ()
22+ # Reset _num_times_created_this_run since previous tests may have created a workspace.
23+ DBGymWorkspace ._num_times_created_this_run = 0
2224 PostgresConnTests .workspace = DBGymWorkspace (
2325 GymlibIntegtestManager .get_workspace_path ()
2426 )
Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ class ReplayTests(unittest.TestCase):
1919 @staticmethod
2020 def setUpClass () -> None :
2121 GymlibIntegtestManager .set_up_workspace ()
22+ # Reset _num_times_created_this_run since previous tests may have created a workspace.
23+ DBGymWorkspace ._num_times_created_this_run = 0
2224 ReplayTests .workspace = DBGymWorkspace (
2325 GymlibIntegtestManager .get_workspace_path ()
2426 )
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ class WorkloadTests(unittest.TestCase):
1212 @staticmethod
1313 def setUpClass () -> None :
1414 GymlibIntegtestManager .set_up_workspace ()
15+ # Reset _num_times_created_this_run since previous tests may have created a workspace.
16+ DBGymWorkspace ._num_times_created_this_run = 0
1517 WorkloadTests .workspace = DBGymWorkspace (
1618 GymlibIntegtestManager .get_workspace_path ()
1719 )
You can’t perform that action at this time.
0 commit comments