This is an automated email from the ASF dual-hosted git repository.
ptupitsyn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git
The following commit(s) were added to refs/heads/main by this push:
new f8ebf08333 IGNITE-20920 .NET: Fix TestPutRoutesRequestToPrimaryNode
flakiness (#2878)
f8ebf08333 is described below
commit f8ebf08333424aeb813b043457490e54f61656c0
Author: Pavel Tupitsyn <[email protected]>
AuthorDate: Mon Nov 27 13:32:50 2023 +0200
IGNITE-20920 .NET: Fix TestPutRoutesRequestToPrimaryNode flakiness (#2878)
Remove timeout from `IgniteProxy` - it was causing connection abort when
test took longer than 5 seconds.
---
modules/platforms/dotnet/Apache.Ignite.Tests/IgniteProxy.cs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/platforms/dotnet/Apache.Ignite.Tests/IgniteProxy.cs
b/modules/platforms/dotnet/Apache.Ignite.Tests/IgniteProxy.cs
index 979c455ef7..b18efee8aa 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Tests/IgniteProxy.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Tests/IgniteProxy.cs
@@ -135,7 +135,8 @@ public sealed class IgniteProxy : IgniteServerBase
},
cancellationToken);
- Task.WhenAll(clientToServerRelay,
serverToClientRelay).Wait(millisecondsTimeout: 5000, cancellationToken);
+ Task.WhenAll(clientToServerRelay,
serverToClientRelay).Wait(cancellationToken);
+ handler.Disconnect(true);
}
protected override void Dispose(bool disposing)