Skip to content

re-enable test_pantsd_memory_usage#23292

Open
cburroughs wants to merge 1 commit intopantsbuild:mainfrom
cburroughs:csb/flake-8193
Open

re-enable test_pantsd_memory_usage#23292
cburroughs wants to merge 1 commit intopantsbuild:mainfrom
cburroughs:csb/flake-8193

Conversation

@cburroughs
Copy link
Copy Markdown
Contributor

I ran this test 500 times and was unable to reproduce the original issue. It may have been fixed by #9999

The assertion change is to make sure current_memory_usage worked so we get something better than a divide by zero error in the next assertion if not. The prior assertion had the side effect of failing the test if memory usage ever decreased, which doesn't make sense. If we added better GC that would be good!

closes #8193

I ran this test 500 times and was unable to reproduce the original
issue. It may have been fixed by pantsbuild#9999

The assertion change is to make sure current_memory_usage worked
so we get something better than a divide by zero error in the next
assertion if not.  The prior assertion had the side effect of failing
the test if memory usage ever *decreased*, which doesn't make sense.
If we added better GC that would be good!

closes pantsbuild#8193
@cburroughs cburroughs self-assigned this Apr 24, 2026
@cburroughs cburroughs added the release-notes:not-required [CI] PR doesn't require mention in release notes label Apr 24, 2026
@cburroughs cburroughs marked this pull request as ready for review April 27, 2026 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-notes:not-required [CI] PR doesn't require mention in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TestPantsDaemonIntegration.test_pantsd_memory_usage is flaky

1 participant