diff options
author | Keith Bostic <keith@wiredtiger.com> | 2015-01-04 11:31:32 -0500 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2015-01-04 11:31:32 -0500 |
commit | 794c68ce81e546f067ecc6050efc603ddeed5323 (patch) | |
tree | 9e86fdcd4cd7ae967b0e76d9b9250161388df029 /test | |
parent | baa157b40673c027acf1ddcb99fedb848a660885 (diff) | |
download | mongo-794c68ce81e546f067ecc6050efc603ddeed5323.tar.gz |
Merge Mark Benvenuto's changes (c85f885ea08c575dee7f1594f1c0371dea2caec6).
Diffstat (limited to 'test')
-rw-r--r-- | test/suite/test_config02.py | 2 | ||||
-rw-r--r-- | test/suite/test_config03.py | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/suite/test_config02.py b/test/suite/test_config02.py index 1edcab5756d..e1094d73e18 100644 --- a/test/suite/test_config02.py +++ b/test/suite/test_config02.py @@ -146,7 +146,7 @@ class test_config02(wttest.WiredTigerTestCase): dir = 'nondir' self.assertRaisesWithMessage(wiredtiger.WiredTigerError, lambda: wiredtiger.wiredtiger_open(dir, 'create'), - '/No such file or directory/') + '/(No such file or directory|The system cannot find the path specified)/') def test_home_not_writeable(self): dir = 'subdir' diff --git a/test/suite/test_config03.py b/test/suite/test_config03.py index f30fb994fa1..ad1217dc466 100644 --- a/test/suite/test_config03.py +++ b/test/suite/test_config03.py @@ -102,12 +102,12 @@ class test_config03(test_base03.test_base03): if self.s_create == False: successargs = successargs.replace(',create=false,',',create,') expect_fail = True - fail_msg = '/No such file or directory/' + fail_msg = '/(No such file or directory|The system cannot find the file specified)/' elif self.s_create == None: successargs = successargs + 'create=true,' expect_fail = True - fail_msg = '/No such file or directory/' - + fail_msg = '/(No such file or directory|The system cannot find the file specified)/' + if self.s_eviction_target >= self.s_eviction_trigger: # construct args that guarantee that target < trigger # we know that trigger >= 1 |