commit | 9f9a19ca8ed7528b498db012207ed59f094943c5 | [log] [tgz] |
---|---|---|
author | Nick Vatamaniuc <vatamane@gmail.com> | Wed May 22 17:50:36 2024 -0400 |
committer | Nick Vatamaniuc <nickva@users.noreply.github.com> | Wed May 22 21:31:37 2024 -0400 |
tree | 94ff09b5b90bb0698fdc9fc470a699244c3aa621 | |
parent | 5b7eff7b27030c3d37d6fbd94c02f08b7c2b301c [diff] |
Fix flakiness in fabric_bench `{error, timeout}` sometimes fails, especially on FreeBSD workers. So handle errors in the docs callback and also half the batch size. Example of error: ``` module 'fabric_bench_test' fabric_bench_test:99: -with/1-fun-1- (t_default_doc_size)...*failed* in function fabric_bench:all_docs_cb/2 (src/fabric_bench.erl, line 179) called as all_docs_cb({error,timeout},7) ```