hedera-services
hedera-services copied to clipboard
test: #18574: fix threading workaround
Description: Some timing sensitive tests may fail, because previous test might have created huge virtual map and copies, that have not yet been fully disposed by asinc VirtualPipeline thread, causing OOM errors. When dealing with huge virtual maps in tests, ensure in the end that map and copies have been released and wait on VirtualPipeline termination.
Fixes #18574
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
@@ Coverage Diff @@
## 18574-fix-workaround-map-release #18885 +/- ##
===================================================================
Coverage ? 69.44%
Complexity ? 23146
===================================================================
Files ? 2629
Lines ? 100039
Branches ? 10339
===================================================================
Hits ? 69475
Misses ? 26607
Partials ? 3957
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.