summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/suite/test_bug019.py
diff options
context:
space:
mode:
authorLuke Chen <luke.chen@mongodb.com>2020-06-09 15:58:09 +1000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-06-09 06:11:36 +0000
commit816ba22112096f783ecbfd1f76b386942d5d9ee7 (patch)
tree91a7854270c448d046e42fd80f867c95b9ee9205 /src/third_party/wiredtiger/test/suite/test_bug019.py
parent9f2697e77352d9a9bda91d9ecc506ef7cf4eb362 (diff)
downloadmongo-816ba22112096f783ecbfd1f76b386942d5d9ee7.tar.gz
Import wiredtiger: bf1d78126c2ff448b868f199aef22b6c528dd45d from branch mongodb-4.4
ref: 4eb9f719ee..bf1d78126c for: 4.4.0-rc9 WT-6353 Print out failing values and value history of prealloc WT-6375 Test to verify RTS fixes the inconsistent checkpoint data WT-6379 Split Evergreen stress test job into multiple shorter running jobs WT-6381 RTS to remove hs record that is appended to the update chain WT-6382 Use history store btree when searching
Diffstat (limited to 'src/third_party/wiredtiger/test/suite/test_bug019.py')
-rw-r--r--src/third_party/wiredtiger/test/suite/test_bug019.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/test/suite/test_bug019.py b/src/third_party/wiredtiger/test/suite/test_bug019.py
index a11581fbc0f..0cfcc2b13cb 100644
--- a/src/third_party/wiredtiger/test/suite/test_bug019.py
+++ b/src/third_party/wiredtiger/test/suite/test_bug019.py
@@ -57,6 +57,8 @@ class test_bug019(wttest.WiredTigerTestCase):
if i % 500 == 0:
prealloc = self.get_prealloc_stat()
if prealloc > self.max_prealloc:
+ self.pr("Updating max_prealloc from " + str(self.max_prealloc))
+ self.pr(" to new prealloc " + str(prealloc))
self.max_prealloc = prealloc
c.close()
@@ -78,6 +80,9 @@ class test_bug019(wttest.WiredTigerTestCase):
start_prealloc = self.get_prealloc_stat()
self.populate(self.entries)
self.session.checkpoint()
+ if self.max_prealloc <= start_prealloc:
+ self.pr("FAILURE: max_prealloc " + str(self.max_prealloc))
+ self.pr("FAILURE: start_prealloc " + str(start_prealloc))
self.assertTrue(self.max_prealloc > start_prealloc)
# Loop, making sure pre-allocation is working and the range is moving.