summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/suite/test_timestamp09.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/test/suite/test_timestamp09.py')
-rw-r--r--src/third_party/wiredtiger/test/suite/test_timestamp09.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/test/suite/test_timestamp09.py b/src/third_party/wiredtiger/test/suite/test_timestamp09.py
index 6fbb15e38b8..862fa31e681 100644
--- a/src/third_party/wiredtiger/test/suite/test_timestamp09.py
+++ b/src/third_party/wiredtiger/test/suite/test_timestamp09.py
@@ -184,6 +184,8 @@ class test_timestamp09(wttest.WiredTigerTestCase, suite_subprocess):
self.assertEqual(c[6], 6)
self.assertEqual(c[7], 7)
self.assertEqual(c[8], 8)
+ self.assertTimestampsEqual(
+ self.conn.query_timestamp('get=oldest_reader'), timestamp_str(8))
self.session.commit_transaction()
# We can move the oldest timestamp backwards with "force"
@@ -194,6 +196,8 @@ class test_timestamp09(wttest.WiredTigerTestCase, suite_subprocess):
timestamp_str(4)),
'/older than oldest timestamp/')
self.session.begin_transaction('read_timestamp=' + timestamp_str(6))
+ self.assertTimestampsEqual(
+ self.conn.query_timestamp('get=oldest_reader'), timestamp_str(6))
self.session.commit_transaction()
if __name__ == '__main__':