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

refactor: chai retry plugin #521

Merged
merged 1 commit into from
Jul 20, 2023
Merged

refactor: chai retry plugin #521

merged 1 commit into from
Jul 20, 2023

Conversation

daomry
Copy link
Contributor

@daomry daomry commented Jul 20, 2023

  • Code cleanups
  • Fixed hanging promises (caused double calls to done and delay after the test execution finished)
  • Changed test timeout adjustment strategy: instead of adding the retry timeout, each sample cycle time is added incrementally. This prevent the total test time to grow dramatically in tests that include many expect(...).retry()

@daomry daomry merged commit 502f6d7 into master Jul 20, 2023
8 checks passed
@daomry daomry deleted the omry/chai-retry-refactor branch July 20, 2023 07:48
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.

1 participant