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

Improve retry_until #1725

Merged
merged 3 commits into from
Nov 10, 2018
Merged

Improve retry_until #1725

merged 3 commits into from
Nov 10, 2018

Conversation

jaydoane
Copy link
Contributor

Overview

Fix bug in epoch millisecond calculation, and improve retry_until to work with code containing assertions.

Testing recommendations

mix test --trace ./test/helper_test.exs

Related Issues or Pull Requests

Checklist

  • Code is written and works correctly;
  • Changes are covered by tests;
  • Documentation reflects the changes;

Previously, retry_until would only work with boolean conditions.

This change supports assertions in code being retried, which requires
fewer changes to wrap existing code containing assertions.
@wohali
Copy link
Member

wohali commented Nov 10, 2018

LGTM +1

@wohali wohali merged commit 844d6fe into apache:master Nov 10, 2018
@jaydoane jaydoane deleted the improve-retry-until branch November 10, 2018 23:22
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.

None yet

2 participants