Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweak the
did_change_stress_test_random_wait
test (#5724)
## Description This test was originally added in #5704. The initial ambition of compiling 400 times, aimed at rigorously evaluating the garbage collector's resilience, inadvertently led to stack overflows and adverse interactions when executed alongside concurrent tests. To address these issues while preserving the test's core objectives, the following modifications have been made: Compilation Frequency Reduction: The iteration count for compilations has been adjusted from 400 to 60. This change significantly accelerates test completion without compromising the test's ability to effectively assess garbage collector performance and stability. Runtime Isolation: Transitioning from #[tokio::test] to a standard #[test] annotation, we now initiate a dedicated Tokio runtime within the test. This approach prevents the test from sharing the runtime environment with other tests, thereby eliminating concurrent execution and its associated complexities. --------- Co-authored-by: Sophie Dankel <[email protected]>
- Loading branch information