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

Bug: Fix abort timeout in waitForVideosToBeWritten #161

Conversation

mbIkola
Copy link
Contributor

@mbIkola mbIkola commented Jan 31, 2024

This PR fixes abortTime value in waitForVideosToBeWritten and waitForVideosToExist causing script waiting approx 54 years before exit

Please see diff and implementation of waitForVideosToBeWritten for details.

Steps to Reporduce:

  1. Set saveAllVideos = false
  2. Run tests. If any of tests are success - process stucks in infinite loop

@mbIkola mbIkola self-assigned this Jan 31, 2024
@mbIkola
Copy link
Contributor Author

mbIkola commented Jan 31, 2024

@christian-bromann could you please take a look of this one-liner PR when you get a chance?

Copy link
Contributor

@christian-bromann christian-bromann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we update line 303 since this will resolve always true now.

src/index.ts Outdated Show resolved Hide resolved
@mbIkola mbIkola force-pushed the no-ref/wait-for-videos-bug branch from 79707aa to 7a6a653 Compare January 31, 2024 19:38
Copy link
Contributor

@christian-bromann christian-bromann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Hopefully now one is still waiting for the timeout 🤔

@mbIkola
Copy link
Contributor Author

mbIkola commented Jan 31, 2024

Can we update line 303 since this will resolve always true now.

True, my bad. Fixed at 7a6a653

@christian-bromann christian-bromann merged commit 9fe5dcd into webdriverio-community:main Jan 31, 2024
2 checks passed
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.

2 participants