Skip to content

test(scripts): use waitFor; skip false-positives - #510

Merged
AviVahl merged 1 commit into
masterfrom
avi/test-stability-fixes
Nov 16, 2020
Merged

AviVahl merged 1 commit into
masterfrom
avi/test-stability-fixes

Conversation

@AviVahl

@AviVahl AviVahl commented Nov 16, 2020

Copy link
Copy Markdown
Contributor
  • our app is dynamically loading, so we want to wait for the body to load (or we get flakiness in slower CI).
  • two tests injecting stuff to Application.run() were already broken. The if statements inside the waitFor caused noop to happen, as waitFor expects a throw/rejection to retry. noop means all is good in tests, so false positive.

- our app is dynamically loading, so we want to wait for the body to load (or we get flakiness in slower CI).
- two tests injecting stuff to Application.run() were already broken. The if statements inside the waitFor caused noop to happen, as waitFor expects a throw/rejection to retry. noop means all is good in tests, so false positive.
@AviVahl
AviVahl force-pushed the avi/test-stability-fixes branch from bbbba2a to 9ba19d8 Compare November 16, 2020 00:13
@AviVahl
AviVahl merged commit caf66e3 into master Nov 16, 2020
@AviVahl
AviVahl deleted the avi/test-stability-fixes branch November 16, 2020 00:20
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