GH-126491: Increase the threshold for the GC fast cycle test.#126984
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#126502 Modified added an improvement to the behavior of the garbage collector, along with a test to verify that behavior. However, that test fails on iOS and Android (and quite possibly any test run that runs the test suite sequentially); the test imposes a limit of 25k objects, but iOS and Android both generate 25032 objects.
The 32 extra object count seems to be something baked in - if you increase the iteration count of the test to 100k, you get the same 25032 object count on iOS and Android.
Following this comment, this PR increases the threshold to
26k27k.