Test is flaking b/c the streamed messages are arriving too slow to one end of the stream. Calls to tokio::sleep are supposed to give time for messages to arrive but depending on architecture/system speed this varies.
Describe the solution to the problem
It would be great to use async-barrier for these tests in order to guarantee sync points and avoid flakiness
Is your feature request related to a problem?
https://github.com/xmtp/libxmtp/blob/75ee4aeb869d66340226893ff98d8daf188166ff/bindings_ffi/src/mls.rs#L1044
Test is flaking b/c the streamed messages are arriving too slow to one end of the
stream
. Calls totokio::sleep
are supposed to give time for messages to arrive but depending on architecture/system speed this varies.Describe the solution to the problem
It would be great to use
async-barrier
for these tests in order to guarantee sync points and avoid flakinessDescribe the uses cases for the feature
No response
Additional details
No response