eosnetworkfoundation / mandel

Obsolete. Use https://github.com/AntelopeIO/leap instead.
Other
87 stars 27 forks source link

Enhance all regression python tests to run in heap mode #794

Closed heifner closed 2 years ago

heifner commented 2 years ago

Most of the regression python tests run with the default database-map-mode of mapped. heap mode is increasing used and recommended as the database-map-mode for most uses. The regression suite should be enhanced to run most/all of the tests in heap mode. Consider randomly picking a database-map-mode when running regression tests. Alternatively we could create a heap mode of all the existing tests, but this seems rather expensive. Also consider just switching all tests to run in heap mode instead; giving less coverage for the default mapped mode.

stephenpdeos commented 2 years ago

In the future we may consider changing the default mode to heap based on its better performance, but presently this is working as designed in alignment with the default mode currently set.