diff options
author | Jamie Heppenstall <jamie.heppenstall@mongodb.com> | 2020-04-14 20:01:29 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-04-17 17:10:43 +0000 |
commit | 5c53fe70e2d6e70b56b3f6a161a74a63d7490cdc (patch) | |
tree | e28fcc864b9d9df215a3cd8474422cb8f4b145fa /buildscripts | |
parent | 8fa3fd63e5338dc7a0e1c156e74441e1c481fe10 (diff) | |
download | mongo-5c53fe70e2d6e70b56b3f6a161a74a63d7490cdc.tar.gz |
SERVER-44559 Enable WT debug table for powercycle tests
Diffstat (limited to 'buildscripts')
-rwxr-xr-x | buildscripts/remote_operations.py | 2 | ||||
-rw-r--r-- | buildscripts/resmokelib/testing/testcases/fixture.py | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/buildscripts/remote_operations.py b/buildscripts/remote_operations.py index 54ecc74bf69..0d949bd62ce 100755 --- a/buildscripts/remote_operations.py +++ b/buildscripts/remote_operations.py @@ -279,7 +279,7 @@ def main(): # pylint: disable=too-many-branches,too-many-statements shell_options.add_option( "--commandDir", dest="command_dir", default=None, help=("Working directory on remote to execute commands" - " form. Defaults to remote login directory.")) + " from. Defaults to remote login directory.")) copy_options.add_option( "--file", dest="files", default=None, action="append", diff --git a/buildscripts/resmokelib/testing/testcases/fixture.py b/buildscripts/resmokelib/testing/testcases/fixture.py index 6cf8c2eee52..7f9a54815f7 100644 --- a/buildscripts/resmokelib/testing/testcases/fixture.py +++ b/buildscripts/resmokelib/testing/testcases/fixture.py @@ -4,6 +4,7 @@ from buildscripts.resmokelib import errors from buildscripts.resmokelib.testing.testcases import interface from buildscripts.resmokelib.utils import registry from buildscripts.resmokelib.testing.fixtures import interface as fixture_interface +from buildscripts.resmokelib.testing.fixtures.external import ExternalFixture class FixtureTestCase(interface.TestCase): # pylint: disable=abstract-method @@ -39,7 +40,7 @@ class FixtureSetupTestCase(FixtureTestCase): self.fixture.setup() self.logger.info("Waiting for %s to be ready.", self.fixture) self.fixture.await_ready() - if not isinstance(self.fixture, fixture_interface.NoOpFixture): + if not isinstance(self.fixture, (fixture_interface.NoOpFixture, ExternalFixture)): self.fixture.mongo_client().admin.command({"refreshLogicalSessionCacheNow": 1}) self.logger.info("Finished the setup of %s.", self.fixture) self.return_code = 0 |