codingteam / emulsion

XMPP ↔ Telegram bridge
MIT License
33 stars 3 forks source link

Flaky test: `Emulsion.Tests.Xmpp.EmulsionXmppTests+SendTests.send function awaits the message delivery` #187

Closed ForNeVeR closed 3 months ago

ForNeVeR commented 11 months ago

Sometimes, the test fails on CI:

Failed Emulsion.Tests.Xmpp.EmulsionXmppTests+SendTests.send function awaits the message delivery [35 s]
  Error Message:
   System.TimeoutException : The operation has timed out.
  Stack Trace:
     at <StartupCode$FSharp-Core>.$Async.AwaitAndBindChildResult@1976-8.Invoke(Boolean _arg4) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1976
   at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvokeNoHijackCheck[a,b](AsyncActivation`1 ctxt, b result1, FSharpFunc`2 userCode) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 528
   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 148
--- End of stack trace from previous location ---
   at Emulsion.Tests.Xmpp.EmulsionXmppTests.send function awaits the message delivery@195.MoveNext() in D:\a\emulsion\emulsion\Emulsion.Tests\Xmpp\EmulsionXmppTests.fs:line 220
--- End of stack trace from previous location ---
  Standard Output Messages:
 2023-10-21 00:50:09 [Information] Message "a27ee279-[92](https://github.com/codingteam/emulsion/actions/runs/6594142939/job/17917662486#step:6:93)4b-4a97-[95](https://github.com/codingteam/emulsion/actions/runs/6594142939/job/17917662486#step:6:96)de-4c9edec080bf" has been sent; awaiting delivery