I'm wondering if despite the wait it's not possible to still have a race condition, possibly on Solr side. I tried another approach so see if it gets better result: instead of waiting for the queue, we wait for the result of the search to have the expected size.
TODO: apply the same logic to other tests if it gives good result (it fails quite a lot right now) |
|