summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/suite/test_hs21.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/test/suite/test_hs21.py')
-rw-r--r--src/third_party/wiredtiger/test/suite/test_hs21.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/test/suite/test_hs21.py b/src/third_party/wiredtiger/test/suite/test_hs21.py
index 638823d87d0..6479a6d64b0 100644
--- a/src/third_party/wiredtiger/test/suite/test_hs21.py
+++ b/src/third_party/wiredtiger/test/suite/test_hs21.py
@@ -154,6 +154,9 @@ class test_hs21(wttest.WiredTigerTestCase):
self.check(self.session, value1, ds.uri, self.nrows // 2, 2, flcs_nrows=self.nrows)
self.check(self.session, value2, ds.uri, self.nrows, 100)
+ # Set the stable timestamp to 100 to let checkpoint write all the stable data.
+ self.conn.set_timestamp('stable_timestamp=' + self.timestamp_str(100))
+
# Our sweep scan interval is every 1 second and the amount of idle time needed for a handle to be closed is 2 seconds.
# It should take roughly 3 seconds for the sweep server to close our file handles. Lets wait at least double
# that to be safe.