You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[TestMethod]publicasyncTaskDisposeWhileCatchingTimeoutDeadlocksRepro(){varfactory=newConnectionFactory{UserName="rabbit",Password="rabbit",HostName="localhost",VirtualHost="/",AutomaticRecoveryEnabled=true};varreceiveConnection=awaitfactory.CreateConnectionAsync();try{awaitreceiveConnection.CloseAsync(TimeSpan.Zero);}catch(Exceptione){}// this blocks foreverawaitreceiveConnection.DisposeAsync();}
Reproduction steps
see code
Expected behavior
Dispose should never block it must either throw or work
Additional context
Im currently migrating to version from 6.8.1 to 7.0 but this causes my tests to be stuck.
The text was updated successfully, but these errors were encountered:
Discussed in #1758
Originally posted by JanEggers January 6, 2025
Describe the bug
Reproduction steps
see code
Expected behavior
Dispose should never block it must either throw or work
Additional context
Im currently migrating to version from 6.8.1 to 7.0 but this causes my tests to be stuck.
The text was updated successfully, but these errors were encountered: