[ 
https://issues.apache.org/jira/browse/IGNITE-22893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17870936#comment-17870936
 ] 

Pavel Tupitsyn edited comment on IGNITE-22893 at 8/5/24 5:51 AM:
-----------------------------------------------------------------

Merged to main: 
[728ab1f9c636679aa526c9b0282e89008b099cb2|https://github.com/apache/ignite-3/commit/728ab1f9c636679aa526c9b0282e89008b099cb2]


was (Author: ptupitsyn):
Merged to main: 
[728ab1f9c636679aa526c9b0282e89008b099cb2|https://github.com/apache/ignite-3/commit/728ab1f9c636679aa526c9b0282e89008b099cb2\

> .NET: Thin 3.0: TestFailedSchemaLoadTaskIsRetried is flaky
> ----------------------------------------------------------
>
>                 Key: IGNITE-22893
>                 URL: https://issues.apache.org/jira/browse/IGNITE-22893
>             Project: Ignite
>          Issue Type: Improvement
>          Components: platforms, thin client
>    Affects Versions: 3.0.0-beta1
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.0.0-beta2
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Test can fail when automatic reconnect is triggered with a heartbeat 
> (background timer). 
> Reproduce the failure by using frequent heartbeats:
> {code}
>         var cfg = new IgniteClientConfiguration
>         {
>             RetryPolicy = new RetryNonePolicy(),
>             HeartbeatInterval = TimeSpan.FromMilliseconds(3)
>         };
> {code}
> Result:
> {code}
>  Expected: <Apache.Ignite.IgniteClientConnectionException>
>   But was:  null
>    at 
> Apache.Ignite.Tests.Table.SchemaUpdateTest.TestFailedSchemaLoadTaskIsRetried()
>  in 
> /opt/buildagent/work/b8d4df1365f1f1e5/modules/platforms/dotnet/Apache.Ignite.Tests/Table/SchemaUpdateTest.cs:line
>  79
>    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()
> 1)    at 
> Apache.Ignite.Tests.Table.SchemaUpdateTest.TestFailedSchemaLoadTaskIsRetried()
>  in 
> /opt/buildagent/work/b8d4df1365f1f1e5/modules/platforms/dotnet/Apache.Ignite.Tests/Table/SchemaUpdateTest.cs:line
>  79
>    at 
> System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.ExecutionContextCallback(Object
>  s)
> {code}
> https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunAllTests/8362885?hideTestsFromDependencies=false&hideProblemsFromDependencies=false&expandBuildTestsSection=true&expandBuildDeploymentsSection=false&expandCode+Inspection=true&expandBuildProblemsSection=true&expandBuildChangesSection=true



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

Reply via email to