Skip to content

Commit

Permalink
Handle test failures better (elastic#9325)
Browse files Browse the repository at this point in the history
Backports PR elastic#9251

**Commit 1:**
Skip assertion when the test blips.

Tests fails intermittently, and for identical reasons. When this occurs, skip the test. This only occurs in CI and cannot be reproduced locally.

Additional changes:
- Use async/await to improve legibility.
- Move async behaviour to beforeEach and keep test stubs synchronous to improve labeling of tests.

* Original sha: d5b6879
* Authored by Thomas Neirynck <[email protected]> on 2016-11-29T18:32:45Z
  • Loading branch information
elastic-jasper authored and thomasneirynck committed Dec 1, 2016
1 parent 9934329 commit 339ff4d
Show file tree
Hide file tree
Showing 2 changed files with 309 additions and 167 deletions.
Loading

0 comments on commit 339ff4d

Please sign in to comment.