summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/suite/test_durable_rollback_to_stable.py
diff options
context:
space:
mode:
authorWill Korteland <will.korteland@mongodb.com>2022-03-24 05:03:46 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-03-24 05:35:56 +0000
commit8a9cd7e0ba274defb269efcae1b1ca804b796b6f (patch)
treef33eaec70b03bb1ec5d2e34f9d4288bdc1c35073 /src/third_party/wiredtiger/test/suite/test_durable_rollback_to_stable.py
parent9dbae49c20fc416f087bffbb56d1a32a22464ff1 (diff)
downloadmongo-8a9cd7e0ba274defb269efcae1b1ca804b796b6f.tar.gz
Import wiredtiger: bd80dbdf285c74b707211100fb6fe8e9d61f6917 from branch mongodb-master
ref: 67608f44b5..bd80dbdf28 for: 6.0.0 WT-8980 Amend test_durable_rollback_to_stable.py to not violate timestamp ordering rules
Diffstat (limited to 'src/third_party/wiredtiger/test/suite/test_durable_rollback_to_stable.py')
-rw-r--r--src/third_party/wiredtiger/test/suite/test_durable_rollback_to_stable.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/third_party/wiredtiger/test/suite/test_durable_rollback_to_stable.py b/src/third_party/wiredtiger/test/suite/test_durable_rollback_to_stable.py
index a1695ced559..126eaeef5f3 100644
--- a/src/third_party/wiredtiger/test/suite/test_durable_rollback_to_stable.py
+++ b/src/third_party/wiredtiger/test/suite/test_durable_rollback_to_stable.py
@@ -48,16 +48,10 @@ class test_durable_rollback_to_stable(wttest.WiredTigerTestCase, suite_subproces
('table-simple', dict(uri='table', ds=SimpleDataSet)),
]
- iso_types = [
- ('isolation_read_committed', dict(isolation='read-committed')),
- ('isolation_default', dict(isolation='')),
- ('isolation_snapshot', dict(isolation='snapshot'))
- ]
-
def keep(name, d):
return d['keyfmt'] != 'r' or (d['uri'] != 'lsm' and not d['ds'].is_lsm())
- scenarios = make_scenarios(types, format_values, iso_types, include=keep)
+ scenarios = make_scenarios(types, format_values, include=keep)
# Test durable timestamp.
def test_durable_rollback_to_stable(self):
@@ -124,7 +118,7 @@ class test_durable_rollback_to_stable(wttest.WiredTigerTestCase, suite_subproces
self.assertEquals(cursor.update(), 0)
self.assertEquals(cursor.next(), 0)
- session.prepare_transaction('prepare_timestamp=' + self.timestamp_str(200))
+ session.prepare_transaction('prepare_timestamp=' + self.timestamp_str(230))
# Set a stable timestamp so that first update value is durable.
# (Must be done after preparing since preparing before stable is prohibited.)