diff options
author | Luke Chen <luke.chen@mongodb.com> | 2021-08-10 15:16:08 +1000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-08-10 05:40:43 +0000 |
commit | 13397fb0bf9aa9aca4e8fe6b736cc458bba1d494 (patch) | |
tree | bd6cfb32acfd590821f7c7d38739ca454f0e6687 /src/third_party/wiredtiger/test/suite/test_rollback_to_stable04.py | |
parent | 2cc4cf27e7fa3fb7a158f05f8ae1b9beab742515 (diff) | |
download | mongo-13397fb0bf9aa9aca4e8fe6b736cc458bba1d494.tar.gz |
Import wiredtiger: ffebd365d6c3c18422437bcae51d8a26a17772a0 from branch mongodb-5.0
ref: 8b35a8d923..ffebd365d6
for: 5.0.3
WT-6755 Documentation: populate developer glossary
WT-6905 Write row-store and column-store subpage for Architecture Guide
WT-6910 Write "history store" subpage for Architecture Guide
WT-7007 Backup architecture guide page
WT-7198 Fix test_backup15 failure with backup mismatch
WT-7352 Fix test_hs01 conflict between concurrent operations in cursor modify
WT-7521 Remove excess ckplist invalidations
WT-7592 Remove log_flush("sync=background") support
WT-7599 Update the CONFIG file based on the release that is about to run for compatibility tests
WT-7673 Investigate and fix manydbs test failure on Windows
WT-7830 Migrate the python setup scripts to use cmake
WT-7838 Ability for ordered timestamp assertion to do more than a log message
WT-7842 Remove explicit ulimit -n call in many-collection-test
WT-7860 Improve code coverage reporting
WT-7876 Update rollback to stable test to use correct boolean values and update statistic checking logic
WT-7893 Remove ignored message from wiredtiger_open in test_encrypt08
WT-7895 Fix arch-data-file.dox documentation build failure
WT-7897 Enable verbose logging for test_backup15 to aid debugging
WT-7898 Upload many-coll-test artifacts
WT-7900 Fix insertion of new records in test format for column-store
WT-7901 test suite cleanup
WT-7908 Make variable-length column store work again with the static tests
WT-7935 Add arm64 implementation of rdtsc equivalent instruction
WT-7937 Fix s_docs to use sh, not bash syntax
WT-7938 Fix rollback-to-stable memory leak on error
Diffstat (limited to 'src/third_party/wiredtiger/test/suite/test_rollback_to_stable04.py')
-rwxr-xr-x | src/third_party/wiredtiger/test/suite/test_rollback_to_stable04.py | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/third_party/wiredtiger/test/suite/test_rollback_to_stable04.py b/src/third_party/wiredtiger/test/suite/test_rollback_to_stable04.py index f865a3975f7..2342163a327 100755 --- a/src/third_party/wiredtiger/test/suite/test_rollback_to_stable04.py +++ b/src/third_party/wiredtiger/test/suite/test_rollback_to_stable04.py @@ -31,9 +31,6 @@ from wtdataset import SimpleDataSet from wtscenario import make_scenarios from test_rollback_to_stable01 import test_rollback_to_stable_base -def timestamp_str(t): - return '%x' % t - def mod_val(value, char, location, nbytes=1): return value[0:location] + char + value[location+nbytes:] @@ -71,10 +68,6 @@ class test_rollback_to_stable04(test_rollback_to_stable_base): def test_rollback_to_stable(self): nrows = 1000 - # Prepare transactions for column store table is not yet supported. - if self.prepare and self.key_format == 'r': - self.skipTest('Prepare transactions for column store table is not yet supported') - # Create a table without logging. uri = "table:rollback_to_stable04" ds = SimpleDataSet( @@ -82,8 +75,8 @@ class test_rollback_to_stable04(test_rollback_to_stable_base): ds.populate() # Pin oldest and stable to timestamp 10. - self.conn.set_timestamp('oldest_timestamp=' + timestamp_str(10) + - ',stable_timestamp=' + timestamp_str(10)) + self.conn.set_timestamp('oldest_timestamp=' + self.timestamp_str(10) + + ',stable_timestamp=' + self.timestamp_str(10)) value_a = "aaaaa" * 100 value_b = "bbbbb" * 100 @@ -131,9 +124,9 @@ class test_rollback_to_stable04(test_rollback_to_stable_base): # Pin stable to timestamp 40 if prepare otherwise 30. if self.prepare: - self.conn.set_timestamp('stable_timestamp=' + timestamp_str(40)) + self.conn.set_timestamp('stable_timestamp=' + self.timestamp_str(40)) else: - self.conn.set_timestamp('stable_timestamp=' + timestamp_str(30)) + self.conn.set_timestamp('stable_timestamp=' + self.timestamp_str(30)) # Checkpoint to ensure the data is flushed, then rollback to the stable timestamp. if not self.in_memory: |