Skip to content
RED SAGSkills
hard20 pts · first answer countsapi-testingflaky-tests

Testing an eventually consistent API

After POST /orders returns 201, a GET /orders/search call reads from a search index that updates within a few seconds. An API test that searches immediately fails sometimes. What is the right approach?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions