Skip to content

Test helper SQSWatcher: use purgeQueue#3054

Merged
jschaul merged 2 commits intodevelopfrom
purge-sqs-queue
Feb 2, 2023
Merged

Test helper SQSWatcher: use purgeQueue#3054
jschaul merged 2 commits intodevelopfrom
purge-sqs-queue

Conversation

@jschaul
Copy link
Member

@jschaul jschaul commented Feb 2, 2023

The previous logic of emptying the queue introduced in #2825 by reading all messages and deleting them assumes there is no other process writing anything into the queue, which might not be the case (in case of parallel brig/galley/spar tests). Instead, use purgeQueue to empty the queue, which should be faster and more reliable.

The previous logic of emptying the queue by reading all messages and
deleting them assumes there is no other process writing anything into
the queue, which might not be the case (in case of parallel
brig/galley/spar tests). Instead, use purgeQueue to empty the queue,
which should be faster and more reliable.
@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Feb 2, 2023
@jschaul jschaul requested a review from akshaymankar February 2, 2023 11:47
@jschaul jschaul merged commit cb62224 into develop Feb 2, 2023
@jschaul jschaul deleted the purge-sqs-queue branch February 2, 2023 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments