Skip to content
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

Adding SQS wait for empty queue #71

Merged
merged 8 commits into from
Sep 6, 2024
Merged

Adding SQS wait for empty queue #71

merged 8 commits into from
Sep 6, 2024

Conversation

martdo02
Copy link
Collaborator

@martdo02 martdo02 commented Sep 6, 2024

  • chore: Update AWS Readme using lint
  • refactor: Update SQS feature and step definitions
  • chore: Update multiple-cucumber-html-reporter to version 3.5.0

Refactor the SQS feature and step definitions to improve code readability and maintainability.

- Add a new scenario to test purging a queue and waiting for it to become empty.
- Modify the `getURLfromQueueName` function to handle queue names that are already URLs.
- Update the `sendMessageToQueue` function to use the `getURLfromQueueName` function.
- Add the `attributesOfQueue` function to retrieve the attributes of a queue.
- Add the `MAFWhen` step definition to wait for a queue to become empty within a specified timeout.

These changes enhance the functionality and organization of the SQS testing module.
@martdo02 martdo02 self-assigned this Sep 6, 2024
@martdo02 martdo02 merged commit 718d106 into main Sep 6, 2024
4 checks passed
@martdo02 martdo02 deleted the aws-sqs-wait-empty branch September 6, 2024 20:44
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