Currently, the python test suite is failing to preserve the artifacts in the event of a test failure. This is due to incorrectly setting the passed field in wttest. This can be seen in the results.txt file of the python suite test output having "passed=True" for a failed test. For example:
Output:
====================================================================== FAIL: test_compact12.test_compact12.test_compact12_truncate ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/wiredtiger/test/suite/wttest.py", line 233, in _callTestMethod method() File "/home/ubuntu/wiredtiger/test/suite/test_compact12.py", line 122, in test_compact12_truncate self.assertGreater(0, 1) AssertionError: 0 not greater than 1
results.txt output:
test_compact12.test_compact12.test_compact12_truncate: passed=True
- is caused by
-
WT-11101 Improve and refactor compatibilty testing
- Closed