You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "nickva (via GitHub)" <gi...@apache.org> on 2023/09/15 22:15:00 UTC

[GitHub] [couchdb] nickva opened a new pull request, #4765: Fix flaky mem3 reshard test

nickva opened a new pull request, #4765:
URL: https://github.com/apache/couchdb/pull/4765

   Saw this one fail multiple times already.
   
   Previously, we were counting the exact number of calls each of the mocked functions were called. However, those calls were made from separate processes with non-deterministic number of retries each, so sometimes, there could be 8 calls, 9 or 10. (Confirmed by adding random sleep in `mem3_reshard_index:retry/3` to reproduce it locally).
   
   We mainly care that the shard is split, the indices finished building, and that those mocked index functions were called more than 4 times due to retries so let's make the test do that instead.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [couchdb] nickva merged pull request #4765: Fix flaky mem3 reshard test

Posted by "nickva (via GitHub)" <gi...@apache.org>.
nickva merged PR #4765:
URL: https://github.com/apache/couchdb/pull/4765


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org