-
Notifications
You must be signed in to change notification settings - Fork 2
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
Make sure row_event happens before save_event #7
Conversation
@@ -24,6 +24,9 @@ def self.wait_for_row_events(ecco_client, count: 1, &block) | |||
end | |||
|
|||
def self.wait_for_save_position_events(ecco_client, count: 1, &block) | |||
# Take into account the initial save event that is emitted when client starts | |||
count += 1 |
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.
What happens if I call this method twice in the same test? Won't it "overstep"?
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.
Nope, the client is started and stopped each time you call the method.
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.
Ok! Because we start and stop here, got it.
Left a comment concerning a comment, otherwise it looks good! |
LGTM, I think we can release as |
|
Make sure row_event happens before save_event
close #5