diff options
author | Alison Felizzi <alison.felizzi@mongodb.com> | 2022-01-06 04:02:31 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-01-06 04:30:02 +0000 |
commit | b42ca3195d2c9a3fa35ccb870155abfed42e3137 (patch) | |
tree | 39995452bbe2040dae66f97defe26d098c5aa9c5 | |
parent | f6ee04d23017664482146e6f1db067c691767cc7 (diff) | |
download | mongo-b42ca3195d2c9a3fa35ccb870155abfed42e3137.tar.gz |
Import wiredtiger: ace6b2c0f9307ff4cdce339722f0d721fe88d39b from branch mongodb-master
ref: 44f59f255c..ace6b2c0f9
for: 5.3.0
WT-8621 Enable diagnostics for spinlock-gcc and spinlock-pthread-adaptive tests
-rw-r--r-- | src/third_party/wiredtiger/import.data | 2 | ||||
-rw-r--r-- | src/third_party/wiredtiger/test/suite/test_rollback_to_stable30.py | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/src/third_party/wiredtiger/import.data b/src/third_party/wiredtiger/import.data index 01f561a14e5..90ff5503982 100644 --- a/src/third_party/wiredtiger/import.data +++ b/src/third_party/wiredtiger/import.data @@ -2,5 +2,5 @@ "vendor": "wiredtiger", "github": "wiredtiger/wiredtiger.git", "branch": "mongodb-master", - "commit": "44f59f255cd2894489339ffe9f3c853ba7e5117e" + "commit": "ace6b2c0f9307ff4cdce339722f0d721fe88d39b" } diff --git a/src/third_party/wiredtiger/test/suite/test_rollback_to_stable30.py b/src/third_party/wiredtiger/test/suite/test_rollback_to_stable30.py index 59379c00408..4e581a329ec 100644 --- a/src/third_party/wiredtiger/test/suite/test_rollback_to_stable30.py +++ b/src/third_party/wiredtiger/test/suite/test_rollback_to_stable30.py @@ -61,8 +61,12 @@ class test_rollback_to_stable30(wttest.WiredTigerTestCase): self.session.prepare_transaction('prepare_timestamp=' + self.timestamp_str(10)) # Roll back to stable should fail because there's an active transaction. - with self.expectedStdoutPattern('transaction state dump'): - msg = '/rollback_to_stable.*active/' + msg = '/rollback_to_stable.*active/' + if wiredtiger.diagnostic_build(): + with self.expectedStdoutPattern('transaction state dump'): + self.assertRaisesWithMessage(wiredtiger.WiredTigerError, + lambda:self.conn.rollback_to_stable(), msg) + else: self.assertRaisesWithMessage(wiredtiger.WiredTigerError, lambda:self.conn.rollback_to_stable(), msg) |