diff options
Diffstat (limited to 'src/third_party/wiredtiger/test/suite/test_las03.py')
-rwxr-xr-x | src/third_party/wiredtiger/test/suite/test_las03.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/third_party/wiredtiger/test/suite/test_las03.py b/src/third_party/wiredtiger/test/suite/test_las03.py index cf327a19e1e..459f7fb4a5d 100755 --- a/src/third_party/wiredtiger/test/suite/test_las03.py +++ b/src/third_party/wiredtiger/test/suite/test_las03.py @@ -65,20 +65,20 @@ class test_las03(wttest.WiredTigerTestCase): ds.populate() bigvalue = b"aaaaa" * 100 - # Initially load huge data + # Initially load huge data. cursor = self.session.open_cursor(uri) for i in range(1, 10000): cursor[ds.key(nrows + i)] = bigvalue cursor.close() self.session.checkpoint() - # Check to see LAS working with old timestamp + # Check to see LAS working with old timestamp. bigvalue2 = b"ddddd" * 100 self.conn.set_timestamp('stable_timestamp=' + timestamp_str(1)) las_writes_start = self.get_stat(stat.conn.cache_write_lookaside) self.large_updates(self.session, uri, bigvalue2, ds, nrows, 10000) - # If the test sizing is correct, the history will overflow the cache + # If the test sizing is correct, the history will overflow the cache. self.session.checkpoint() las_writes = self.get_stat(stat.conn.cache_write_lookaside) - las_writes_start self.assertGreaterEqual(las_writes, 0) @@ -86,7 +86,7 @@ class test_las03(wttest.WiredTigerTestCase): for ts in range(2, 4): self.conn.set_timestamp('stable_timestamp=' + timestamp_str(ts)) - # Now just update one record and checkpoint again + # Now just update one record and checkpoint again. self.large_updates(self.session, uri, bigvalue2, ds, nrows, 1) las_reads_start = self.get_stat(stat.conn.cache_read_lookaside) |