Pavel Tupitsyn created IGNITE-20832:
---------------------------------------

             Summary: .NET: Thin 3.0: TestDroppedConnectionIsRestoredOnDemand 
is flaky
                 Key: IGNITE-20832
                 URL: https://issues.apache.org/jira/browse/IGNITE-20832
             Project: Ignite
          Issue Type: Bug
          Components: platforms, thin client
    Affects Versions: 3.0.0-beta1
            Reporter: Pavel Tupitsyn
            Assignee: Pavel Tupitsyn
             Fix For: 3.0.0-beta2


Can be reproduced locally by running the test in a loop (Run Selected Tests 
Until Failure in Rider)

{code}
Expected: No Exception to be thrown
  But was:  <Apache.Ignite.IgniteClientConnectionException: Connection closed.
   at 
Apache.Ignite.Internal.ClientFailoverSocket.DoOutInOpAndGetSocketAsync(ClientOp 
clientOp, Transaction tx, PooledArrayBuffer request, PreferredNode 
preferredNode, IRetryPolicy retryPolicyOverride) in 
/home/pavel/w/ignite-3/modules/platforms/dotnet/Apache.Ignite/Internal/ClientFailoverSocket.cs:line
 195
   at Apache.Ignite.Internal.ClientFailoverSocket.DoOutInOpAsync(ClientOp 
clientOp, PooledArrayBuffer request, PreferredNode preferredNode) in 
/home/pavel/w/ignite-3/modules/platforms/dotnet/Apache.Ignite/Internal/ClientFailoverSocket.cs:line
 153
   at Apache.Ignite.Internal.Table.Tables.GetTablesAsync() in 
/home/pavel/w/ignite-3/modules/platforms/dotnet/Apache.Ignite/Internal/Table/Tables.cs:line
 63
   at 
Apache.Ignite.Tests.ReconnectTests.<>c__DisplayClass3_0.<<TestDroppedConnectionIsRestoredOnDemand>b__1>d.MoveNext()
 in 
/home/pavel/w/ignite-3/modules/platforms/dotnet/Apache.Ignite.Tests/ReconnectTests.cs:line
 80
--- End of stack trace from previous location ---
   at 
NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at 
NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter
 awaiter)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.ExceptionHelper.RecordException(Delegate 
parameterlessDelegate, String parameterName)>
   at 
Apache.Ignite.Tests.ReconnectTests.TestDroppedConnectionIsRestoredOnDemand() in 
/home/pavel/w/ignite-3/modules/platforms/dotnet/Apache.Ignite.Tests/ReconnectTests.cs:line
 80
   at 
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.ExecutionContextCallback(Object
 s)

   at 
Apache.Ignite.Tests.ReconnectTests.TestDroppedConnectionIsRestoredOnDemand() in 
/home/pavel/w/ignite-3/modules/platforms/dotnet/Apache.Ignite.Tests/ReconnectTests.cs:line
 80
   at 
NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at 
NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter
 awaiter)
   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.TimeoutCommand.<>c__DisplayClass5_0.<RunTestOnSeparateThread>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)




-----

One or more child tests had errors
  Exception doesn't have a stacktrace



Fake server started [port=40179, test=TestDroppedConnectionIsRestoredOnDemand]
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to