Skip to content

Move test_memory_stats to an integration test#856

Merged
mjp41 merged 1 commit into
microsoft:mainfrom
mjp41:fix-rust-stats-race
Jun 10, 2026
Merged

Move test_memory_stats to an integration test#856
mjp41 merged 1 commit into
microsoft:mainfrom
mjp41:fix-rust-stats-race

Conversation

@mjp41

@mjp41 mjp41 commented Jun 10, 2026

Copy link
Copy Markdown
Member

test_memory_stats reads a process-global counter that every allocation in the process feeds into. Placing it under tests/ runs it in its own binary, isolating its snapshots from any other test thread.

test_memory_stats reads a process-global counter that every
allocation in the process feeds into. Placing it under tests/
runs it in its own binary, isolating its snapshots from any
other test thread.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mjp41

mjp41 commented Jun 10, 2026

Copy link
Copy Markdown
Member Author

FYI @jayakasadev

@mjp41 mjp41 merged commit 57d6aa0 into microsoft:main Jun 10, 2026
198 checks passed
@mjp41 mjp41 deleted the fix-rust-stats-race branch June 10, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant