diff options
Diffstat (limited to 'src/third_party/wiredtiger/test/suite/test_prepare_hs04.py')
-rw-r--r-- | src/third_party/wiredtiger/test/suite/test_prepare_hs04.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/third_party/wiredtiger/test/suite/test_prepare_hs04.py b/src/third_party/wiredtiger/test/suite/test_prepare_hs04.py index afb96a09043..c5d3a9b7050 100644 --- a/src/third_party/wiredtiger/test/suite/test_prepare_hs04.py +++ b/src/third_party/wiredtiger/test/suite/test_prepare_hs04.py @@ -165,12 +165,8 @@ class test_prepare_hs04(wttest.WiredTigerTestCase): # After simulating a crash, search for the keys inserted. txn_config = 'read_timestamp=' + timestamp_str(5) + ',ignore_prepare=false' - if self.commit == True: - # Search keys with timestamp 5, ignore_prepare=false and expect the cursor search to return WT_NOTFOUND. - self.search_keys_timestamp_and_ignore(ds, txn_config, None) - else: - # Search keys with timestamp 5, ignore_prepare=false and expect the cursor value to be commit_value. - self.search_keys_timestamp_and_ignore(ds, txn_config, commit_value) + # Search keys with timestamp 5, ignore_prepare=false and expect the cursor value to be commit_value. + self.search_keys_timestamp_and_ignore(ds, txn_config, commit_value) txn_config = 'read_timestamp=' + timestamp_str(20) + ',ignore_prepare=true' # Search keys with timestamp 20, ignore_prepare=true and expect the cursor search to return WT_NOTFOUND. |