hedera-services icon indicating copy to clipboard operation
hedera-services copied to clipboard

test: #18574: fix threading workaround

Open akugal opened this issue 9 months ago • 1 comments

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

akugal avatar Apr 16 '25 18:04 akugal

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Impacted file tree graph

@@                         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           

Impacted file tree graph

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Apr 16 '25 19:04 codecov[bot]