Skip to content

Fix flaky tests in examples #177

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

Merged
merged 2 commits into from
Dec 19, 2016
Merged

Fix flaky tests in examples #177

merged 2 commits into from
Dec 19, 2016

Conversation

lutovich
Copy link
Contributor

Previously tests used setTimeout to assert on the logged output. This was highly unreliable and caused many flaky builds.

This PR makes tests use promises instead of setTimeout.

Previously tests used `setTimeout` to assert on the logged output. This was
highly unreliable and caused many flaky builds.

This commit makes tests use promises instead of `setTimeout`.
@zhenlineo zhenlineo merged commit 7cffacc into neo4j:1.1 Dec 19, 2016
@lutovich lutovich deleted the 1.1-flaky-tests branch September 21, 2018 13:47
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