-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unstable tests by adding 'retry_until()'
Add `retry_until()` to avoid request timeout error in search_test.exs. Error logs: ``` 1) test search returns all items for GET (SearchTest) test/elixir/test/search_test.exs:67 ** (KeyError) key :status_code not found in: %HTTPotion.ErrorResponse{message: "req_timedout"} code: assert resp.status_code == 200 stacktrace: test/elixir/test/search_test.exs:74: (test) ```
- Loading branch information
1 parent
f1f45aa
commit d6c4bfc
Showing
1 changed file
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters