-
Notifications
You must be signed in to change notification settings - Fork 15
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
chore: refactor worker test #248
Conversation
@remcowesterhoud Have a look and tell me what you think. I think it's definitely a step forward and hopefully removes flakiness. This line is a bit awkward and not intuitive: What could also help would be something like |
We could also do a Btw, in the testbench test this will make sense read as a test, because it will be something like:
|
I like using I liked the idea of adding a |
This will produce a request timeout exception.
Maybe a little too technical, but a good idea. |
1cd4edf
to
c53869c
Compare
I now have implemented only the refactoring for the test. The additional methods on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I like the changes so much that I'd like to see them a 2nd time in the testcontainer version of this test 😉 (this duplication is already annoying me so this will be one of the first things I want to get rid of next).
I've created a separate issue for the waitFor
method: #252
c53869c
to
6453fb1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Description
Related issues
closes #244
Definition of Done
Not all items need to be done depending on the issue and the pull request.
Code changes:
Testing:
Documentation: