-
Notifications
You must be signed in to change notification settings - Fork 251
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
Refactor play until and duration duration tests #1024
Refactor play until and duration duration tests #1024
Conversation
88c85a0
to
28be5c2
Compare
28be5c2
to
fc36496
Compare
fc36496
to
52f83eb
Compare
- Migrates test fixtures of play with duration and until a timestamp options to a common header file. - Moves test_play_for and PlayFor to use duration instead. Signed-off-by: Agustin Alba Chicar <ag.albachicar@ekumenlabs.com>
52f83eb
to
927fc46
Compare
@MichaelOrlov it should be OK now to be reviewed. |
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.
@agalbachicar Thanks for your contribution.
Overall looks good to me among a couple nitpicks in code formatting.
Co-authored-by: Michael Orlov <morlovmr@gmail.com> Signed-off-by: Agustin Alba Chicar <ag.albachicar@ekumenlabs.com>
Co-authored-by: Michael Orlov <morlovmr@gmail.com> Signed-off-by: Agustin Alba Chicar <ag.albachicar@ekumenlabs.com>
Signed-off-by: Agustin Alba Chicar <ag.albachicar@ekumenlabs.com>
c70fd60
to
3a96ed3
Compare
Running CI: |
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.
@agalbachicar Thanks.
Approving now.
I've checked CI and it seems the problem on it was the flaky test. |
Yes. I agree. I am also running CI with build farm on 3 platforms. |
As requested in #1005 (review) , this PR refactors
test_play_until
andtest_play_for
(now calledtest_play_duration
) to unify common code.