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

Add test for flushing a queue with outstanding in-flight messages #1635

Open
relud opened this issue Apr 5, 2021 · 0 comments
Open

Add test for flushing a queue with outstanding in-flight messages #1635

relud opened this issue Apr 5, 2021 · 0 comments

Comments

@relud
Copy link
Contributor

relud commented Apr 5, 2021

  1. create a queue with a disk location
  2. write a message to the queue
  3. call get to make the message in-flight
    • don't ack or nack the message
  4. attempt to flush the queue from scratch
    • don't reuse or del the existing queue object
  5. assert that the message was delivered

This should catch regressions of peter-wangxu/persist-queue#154

@relud relud self-assigned this Jul 19, 2021
@relud relud removed their assignment Oct 5, 2023
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

No branches or pull requests

1 participant