Repository navigation
test: Deflake XfccIntegrationTest.TagExtractedNameGenerationTest - #49036
Merged
Merged
Conversation
The test expects the per-worker watchdog counters to exist, but they are created in a post callback on the worker that runs after the listener-ready notification and after the started callback that unblocks the main thread. The admin request added in envoyproxy#32280 is served on the main thread's connection handler and so does not synchronize with the worker at all. Use a worker barrier instead. Signed-off-by: Ryan Northey <[email protected]>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the worker-thread synchronization change.
No open issues 🎉
What changed in this PR
Deflakes XfccIntegrationTest.TagExtractedNameGenerationTest by synchronizing with worker threads before checking watchdog statistics, replacing the main-thread admin request introduced in #32280.
Changes:
- Replaces the
/config_dumprequest withwaitForWorkerThreads(). - Explains why an admin request does not synchronize worker initialization.
| File | Description |
|---|---|
test/integration/xfcc_integration_test.cc |
Uses a worker barrier before validating watchdog statistics. |
Review effort: Balanced
ravenblackx
approved these changes
Nov 5, 2026
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 12, 2026
…oyproxy#49036) The test expects the per-worker watchdog counters to exist, but they are created in a post callback on the worker that runs after the listener-ready notification and after the started callback that unblocks the main thread. The admin request added in envoyproxy#32280 is served on the main thread's connection handler and so does not synchronize with the worker at all. Use a worker barrier instead. Signed-off-by: Ryan Northey <[email protected]>
jwendell
pushed a commit
that referenced
this pull request
Nov 12, 2026
) The test expects the per-worker watchdog counters to exist, but they are created in a post callback on the worker that runs after the listener-ready notification and after the started callback that unblocks the main thread. The admin request added in #32280 is served on the main thread's connection handler and so does not synchronize with the worker at all. Use a worker barrier instead. Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 16, 2026
…oyproxy#49036) The test expects the per-worker watchdog counters to exist, but they are created in a post callback on the worker that runs after the listener-ready notification and after the started callback that unblocks the main thread. The admin request added in envoyproxy#32280 is served on the main thread's connection handler and so does not synchronize with the worker at all. Use a worker barrier instead. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 4113c85) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 16, 2026
…oyproxy#49036) The test expects the per-worker watchdog counters to exist, but they are created in a post callback on the worker that runs after the listener-ready notification and after the started callback that unblocks the main thread. The admin request added in envoyproxy#32280 is served on the main thread's connection handler and so does not synchronize with the worker at all. Use a worker barrier instead. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 4113c85) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 16, 2026
…oyproxy#49036) The test expects the per-worker watchdog counters to exist, but they are created in a post callback on the worker that runs after the listener-ready notification and after the started callback that unblocks the main thread. The admin request added in envoyproxy#32280 is served on the main thread's connection handler and so does not synchronize with the worker at all. Use a worker barrier instead. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 4113c85) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 16, 2026
…oyproxy#49036) The test expects the per-worker watchdog counters to exist, but they are created in a post callback on the worker that runs after the listener-ready notification and after the started callback that unblocks the main thread. The admin request added in envoyproxy#32280 is served on the main thread's connection handler and so does not synchronize with the worker at all. Use a worker barrier instead. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 4113c85) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 16, 2026
…oyproxy#49036) The test expects the per-worker watchdog counters to exist, but they are created in a post callback on the worker that runs after the listener-ready notification and after the started callback that unblocks the main thread. The admin request added in envoyproxy#32280 is served on the main thread's connection handler and so does not synchronize with the worker at all. Use a worker barrier instead. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 4113c85) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 16, 2026
…oyproxy#49036) The test expects the per-worker watchdog counters to exist, but they are created in a post callback on the worker that runs after the listener-ready notification and after the started callback that unblocks the main thread. The admin request added in envoyproxy#32280 is served on the main thread's connection handler and so does not synchronize with the worker at all. Use a worker barrier instead. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 4113c85) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
…oyproxy#49036) The test expects the per-worker watchdog counters to exist, but they are created in a post callback on the worker that runs after the listener-ready notification and after the started callback that unblocks the main thread. The admin request added in envoyproxy#32280 is served on the main thread's connection handler and so does not synchronize with the worker at all. Use a worker barrier instead. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 4113c85) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
…oyproxy#49036) The test expects the per-worker watchdog counters to exist, but they are created in a post callback on the worker that runs after the listener-ready notification and after the started callback that unblocks the main thread. The admin request added in envoyproxy#32280 is served on the main thread's connection handler and so does not synchronize with the worker at all. Use a worker barrier instead. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 4113c85) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
…oyproxy#49036) The test expects the per-worker watchdog counters to exist, but they are created in a post callback on the worker that runs after the listener-ready notification and after the started callback that unblocks the main thread. The admin request added in envoyproxy#32280 is served on the main thread's connection handler and so does not synchronize with the worker at all. Use a worker barrier instead. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 4113c85) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
that referenced
this pull request
Nov 17, 2026
) The test expects the per-worker watchdog counters to exist, but they are created in a post callback on the worker that runs after the listener-ready notification and after the started callback that unblocks the main thread. The admin request added in #32280 is served on the main thread's connection handler and so does not synchronize with the worker at all. Use a worker barrier instead. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 4113c85) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 18, 2026
…oyproxy#49036) The test expects the per-worker watchdog counters to exist, but they are created in a post callback on the worker that runs after the listener-ready notification and after the started callback that unblocks the main thread. The admin request added in envoyproxy#32280 is served on the main thread's connection handler and so does not synchronize with the worker at all. Use a worker barrier instead. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 4113c85) Signed-off-by: Ryan Northey <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The test expects the per-worker watchdog counters to exist, but they are created in a post callback on the worker that runs after the listener-ready notification and after the started callback that unblocks the main thread. The admin request added in #32280 is served on the main thread's connection handler and so does not synchronize with the worker at all. Use a worker barrier instead.