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

restore.spec: Wait for prepare promise to resolve #626

Merged
merged 1 commit into from
Jul 9, 2018

Conversation

raphinesse
Copy link
Contributor

@raphinesse raphinesse commented Jul 9, 2018

One test in pkgJson-restore.spec did NOT wait for the promise returned
by prepare to be resolved before continuing with other tasks.
Especially on Windows this could lead to EBUSY failures during cleanup
and in turn to failures during following tests.

Note: The order of emptyPlatformList() and prepare() does not seem to matter. Thus I chose the variant that was used throughout all other tests.

One test in pkgJson-restore.spec did NOT wait for the promise returned
by `prepare` to be resolved before continuing with other tasks.
Especially on Windows this could lead to EBUSY failures during cleanup
and in turn to failures during following tests.
@raphinesse raphinesse merged commit 4fb0c80 into apache:master Jul 9, 2018
@raphinesse raphinesse deleted the fix-restore-spec branch July 9, 2018 23:40
@raphinesse raphinesse mentioned this pull request Aug 15, 2018
7 tasks
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

1 participant