Repository navigation
fix(telemetry): shutdown test waits for events not timers - #2961
Merged
dan-petty merged 1 commit intoNov 1, 2026
Merged
Conversation
dan-petty
marked this pull request as ready for review
November 1, 2026 00:02
dan-petty
deleted the
fix/2690-telemetry-shutdown-test-events-not-timers
branch
November 1, 2026 00:03
dan-petty
pushed a commit
that referenced
this pull request
Nov 1, 2026
🤖 I have created a release *beep* *boop* --- ## [0.36.0](v0.35.0...v0.36.0) (2026-11-01) ### Features * **k8s:** add bootstrap-mattermost command ([#2945](#2945)) ([#2955](#2955)) ([66ed3bf](66ed3bf)) * **k8s:** add bootstrap-mattermost command for webhooks and secrets ([#2948](#2948)) ([4b22158](4b22158)) * **roadmap:** add devops roadmap explain ([#2960](#2960)) ([8bc5e39](8bc5e39)), closes [#2911](#2911) * **roadmap:** start the runner Job from implement --item ([#2959](#2959)) ([7c59283](7c59283)), closes [#2913](#2913) * **telemetry:** preview requests in dry run for monitoring commands ([#2954](#2954)) ([eea778d](eea778d)) * **vault:** preview requests in dry run for valkey and vault commands ([#2941](#2941)) ([91a971e](91a971e)), closes [#2253](#2253) ### Bug Fixes * **telemetry:** shutdown test waits for events not timers ([#2961](#2961)) ([369ed25](369ed25)), closes [#2690](#2690) * **tests:** test waits end on event or process exit ([#2952](#2952)) ([df07ee9](df07ee9)), closes [#2138](#2138) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
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.
Summary
Update
test_shutdown_joins_all_worker_threadsintests/telemetry/test_telemetry_shutdown_sync.pyto wait for thread events instead of using fixed timers.threading.Timer(1.2, ...)with direct thread coordination.client.shutdown()in a worker thread and release the payload send via event.THREAD_HANDOFF_BOUND_SECONDSfor thread join and event waits.Fail-to-pass: not applicable (the change replaces fixed timers with event-driven handoff bounds, which pass on a quiet host on base).
Closes #2690