Skip to content

Fix flakiness in ProfileTest.EventTraceTruncation. - #586

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_972970666
Aug 31, 2026
Merged

Fix flakiness in ProfileTest.EventTraceTruncation.#586
copybara-service[bot] merged 1 commit into
masterfrom
test_972970666

Conversation

@copybara-service

Copy link
Copy Markdown

Fix flakiness in ProfileTest.EventTraceTruncation.

In EventTraceTruncation, allocations were performed after an initial
SleepFor(20ms), allowing background allocations during the sleep to
consume the small trace memory buffer (kEventTraceMemoryLimit = 2048,
capacity for only 1 pair) before the early allocation was recorded,
causing intermittent truncation of the expected early event.

@copybara-service
copybara-service Bot force-pushed the test_972970666 branch 2 times, most recently from b504ed6 to 4e31c90 Compare August 31, 2026 16:39
In EventTraceTruncation, allocations were performed after an initial
SleepFor(20ms), allowing background allocations during the sleep to
consume the small trace memory buffer (kEventTraceMemoryLimit = 2048,
capacity for only 1 pair) before the early allocation was recorded,
causing intermittent truncation of the expected early event.

PiperOrigin-RevId: 973933851
@copybara-service
copybara-service Bot merged commit e360731 into master Aug 31, 2026
2 checks passed
@copybara-service
copybara-service Bot deleted the test_972970666 branch August 31, 2026 16:51
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