diff options
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.py | 8 |
1 files changed, 6 insertions, 2 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 e42d8458fe5..e54bd3deaf2 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 @@ -87,7 +87,9 @@ class test_durable_rollback_to_stable(wttest.WiredTigerTestCase): self.assertEquals(cursor.next(), 0) session.prepare_transaction('prepare_timestamp=' + timestamp_str(150)) - session.commit_transaction('commit_timestamp=' + timestamp_str(200) + ',durable_timestamp=' + timestamp_str(220)) + session.timestamp_transaction('commit_timestamp=' + timestamp_str(200)) + session.timestamp_transaction('durable_timestamp=' + timestamp_str(220)) + session.commit_transaction() # Check the values read are correct with different timestamps. # Read the initial dataset. @@ -133,7 +135,9 @@ class test_durable_rollback_to_stable(wttest.WiredTigerTestCase): # Commit timestamp is earlier to stable timestamp but durable timestamp # is later than stable timestamp. Hence second update value is not durable. - session.commit_transaction('commit_timestamp=' + timestamp_str(240) + ',durable_timestamp=' + timestamp_str(300)) + session.timestamp_transaction('commit_timestamp=' + timestamp_str(240)) + session.timestamp_transaction('durable_timestamp=' + timestamp_str(300)) + session.commit_transaction() # Checkpoint so that first update value will be visible and durable, # but second update value will be only visible but not durable. |