icerpc-csharp icon indicating copy to clipboard operation
icerpc-csharp copied to clipboard

IceRpc:Tests:Transports:Slic:SlicTransportTests:Connection_with_idle_timeout_is_not_aborted_when_idle(True) failure

Open bernardnormier opened this issue 1 month ago • 1 comments

On Windows in CI

https://github.com/icerpc/icerpc-csharp/actions/runs/19541109116/job/55947382362

Failed IceRpc:Tests:Transports:Slic:SlicTransportTests:Connection_with_idle_timeout_is_not_aborted_when_idle(True) [2 s]
  Error Message:
     Assert.That(acceptStreamTask.IsCompleted, Is.False)
  Expected: False
  But was:  True

  Stack Trace:
     at IceRpc.Tests.Transports.Slic.SlicTransportTests.Connection_with_idle_timeout_is_not_aborted_when_idle(Boolean serverIdleTimeout) in D:\a\icerpc-csharp\icerpc-csharp\tests\IceRpc.Tests\Transports\Slic\SlicTransportTests.cs:line 586
   at IceRpc.Tests.Transports.Slic.SlicTransportTests.Connection_with_idle_timeout_is_not_aborted_when_idle(Boolean serverIdleTimeout) in D:\a\icerpc-csharp\icerpc-csharp\tests\IceRpc.Tests\Transports\Slic\SlicTransportTests.cs:line 588
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeTestCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Execution.SimpleWorkItem.<>c__DisplayClass3_0.<PerformWork>b__0()
   at NUnit.Framework.Internal.ContextUtils.<>c__DisplayClass1_0`1.<DoIsolated>b__0(Object _)

1)    at IceRpc.Tests.Transports.Slic.SlicTransportTests.Connection_with_idle_timeout_is_not_aborted_when_idle(Boolean serverIdleTimeout) in D:\a\icerpc-csharp\icerpc-csharp\tests\IceRpc.Tests\Transports\Slic\SlicTransportTests.cs:line 586
IceRpc.IceRpcException: The connection did not receive any bytes for over 1 s.
   at IceRpc.Transports.Slic.Internal.SlicDuplexConnectionDecorator.<...>

bernardnormier avatar Nov 20 '25 15:11 bernardnormier

Closed wrong issue.

bernardnormier avatar Nov 21 '25 20:11 bernardnormier

Unable to reproduce. See #4165. It was most likely due to a flaky Windows runner.

bernardnormier avatar Nov 25 '25 21:11 bernardnormier