diff options
author | Luke Chen <luke.chen@mongodb.com> | 2021-12-21 17:29:12 +1100 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-12-21 07:28:22 +0000 |
commit | 293a1e802a8e1e9cf185f72c3a11ad0f63d6412e (patch) | |
tree | e7d55a79b73558b22533eef816846cac026bb239 | |
parent | 82379d0d2584c96a7042be4b4cab73abb1fdac85 (diff) | |
download | mongo-293a1e802a8e1e9cf185f72c3a11ad0f63d6412e.tar.gz |
Import wiredtiger: 8cea6f709115ebfa38f66a8d720e9891db34da81 from branch mongodb-5.2
ref: 1ac6c11984..8cea6f7091
for: 5.2.0-rc2
WT-8288 Corrected code typos in Python test
-rw-r--r-- | src/third_party/wiredtiger/import.data | 2 | ||||
-rwxr-xr-x | src/third_party/wiredtiger/test/suite/run.py | 4 | ||||
-rw-r--r-- | src/third_party/wiredtiger/test/suite/wtscenario.py | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/third_party/wiredtiger/import.data b/src/third_party/wiredtiger/import.data index 04c53c67089..651f73f80e6 100644 --- a/src/third_party/wiredtiger/import.data +++ b/src/third_party/wiredtiger/import.data @@ -2,5 +2,5 @@ "vendor": "wiredtiger", "github": "wiredtiger/wiredtiger.git", "branch": "mongodb-5.2", - "commit": "1ac6c119846cfdf77c1496541af50f9c3caef22f" + "commit": "8cea6f709115ebfa38f66a8d720e9891db34da81" } diff --git a/src/third_party/wiredtiger/test/suite/run.py b/src/third_party/wiredtiger/test/suite/run.py index 4e1971cbcbe..24baaff822f 100755 --- a/src/third_party/wiredtiger/test/suite/run.py +++ b/src/third_party/wiredtiger/test/suite/run.py @@ -618,13 +618,13 @@ if __name__ == '__main__': s = test.scenario_number if s > 1000: hugetests.add(name) # warn for too many scenarios - return (s, test.simpleName()) # sort by scenerio number first + return (s, test.simpleName()) # sort by scenario number first all_tests = sorted(tests, key = get_sort_keys) if not longtest: for name in hugetests: print("WARNING: huge test " + name + " has > 1000 scenarios.\n" + "That is only appropriate when using the --long option.\n" + - "The number of scenerios for the test should be pruned") + "The number of scenarios for the test should be pruned") # At this point we have an ordered list of all the tests. # Break it into just our batch. diff --git a/src/third_party/wiredtiger/test/suite/wtscenario.py b/src/third_party/wiredtiger/test/suite/wtscenario.py index 8c3ff52d85c..0b111c29af5 100644 --- a/src/third_party/wiredtiger/test/suite/wtscenario.py +++ b/src/third_party/wiredtiger/test/suite/wtscenario.py @@ -135,7 +135,7 @@ def multiply_scenarios(sep, *args): def prune_sorter_key(scene): """ - Used by prune_scenerios to extract key for sorting. + Used by prune_scenarios to extract key for sorting. The key is the saved random value multiplied by the probability of choosing. """ @@ -146,7 +146,7 @@ def prune_sorter_key(scene): def prune_resort_key(scene): """ - Used by prune_scenerios to extract the original ordering key for sorting. + Used by prune_scenarios to extract the original ordering key for sorting. """ return scene[1]['_order'] |