Skip to content

[SQS] Add bootstrap test for graceful shutdown during long-poll #12234

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

gregfurman
Copy link
Contributor

Motivation

Adds a bootstrap test to illustrate long-polling SQS calls shutting down gracefully.

Changes

  • Adds a TestBlockingServiceShutdown.test_shutdown_during_sqs_long_poll bootstrap test that will create some threaded long poll calls that exit early and without error when LS is being shutdown.

@gregfurman gregfurman added aws:sqs Amazon Simple Queue Service semver: patch Non-breaking changes which can be included in patch releases labels Feb 6, 2025
@gregfurman gregfurman requested review from joe4dev and dfangl February 6, 2025 17:58
@gregfurman gregfurman self-assigned this Feb 6, 2025
Copy link

github-actions bot commented Feb 6, 2025

LocalStack Community integration with Pro

    2 files  ±0      2 suites  ±0   1h 53m 17s ⏱️ -11s
4 097 tests ±0  3 781 ✅ ±0  316 💤 ±0  0 ❌ ±0 
4 099 runs  ±0  3 781 ✅ ±0  318 💤 ±0  0 ❌ ±0 

Results for commit 928aa94. ± Comparison against base commit 57aeecb.

♻️ This comment has been updated with latest results.

@gregfurman gregfurman force-pushed the test/boostrap/polling-graceful-shutdown branch from b02ac37 to 7f76b2a Compare February 7, 2025 09:24
@gregfurman gregfurman force-pushed the test/boostrap/polling-graceful-shutdown branch from 7f76b2a to 104f64a Compare February 7, 2025 10:01
@gregfurman gregfurman force-pushed the test/boostrap/polling-graceful-shutdown branch from a062e3a to 65d373b Compare February 12, 2025 09:09
@gregfurman gregfurman added this to the Playground milestone Feb 24, 2025
@dfangl dfangl removed their request for review April 28, 2025 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aws:sqs Amazon Simple Queue Service semver: patch Non-breaking changes which can be included in patch releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants