Repository: ignite Updated Branches: refs/heads/master 78dfd1405 -> fda63769a
IGNITE-9202: .NET: Fixed failures in several tests which use distributed joins. The fix is to set 1 min timeout. Looks like on some environments it takes too long to join node and rebalance data, so we failed with timeout. Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/f8142fd9 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/f8142fd9 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/f8142fd9 Branch: refs/heads/master Commit: f8142fd9a0ce3a743d3cc41546472f39371f0545 Parents: 65bd760 Author: devozerov <[email protected]> Authored: Tue Sep 11 17:25:24 2018 +0300 Committer: devozerov <[email protected]> Committed: Tue Sep 11 17:25:24 2018 +0300 ---------------------------------------------------------------------- .../Apache.Ignite.Examples/Datagrid/BinaryModeExample.cs | 3 ++- .../dotnet/examples/Apache.Ignite.Examples/Sql/LinqExample.cs | 6 +++++- .../dotnet/examples/Apache.Ignite.Examples/Sql/SqlExample.cs | 3 ++- 3 files changed, 9 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/f8142fd9/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Datagrid/BinaryModeExample.cs ---------------------------------------------------------------------- diff --git a/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Datagrid/BinaryModeExample.cs b/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Datagrid/BinaryModeExample.cs index 89021e6..0d96f4c 100644 --- a/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Datagrid/BinaryModeExample.cs +++ b/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Datagrid/BinaryModeExample.cs @@ -179,7 +179,8 @@ namespace Apache.Ignite.Examples.Datagrid "from Person, Company " + "where Person.CompanyId = Company.Id and Company.Name = ?", orgName) { - EnableDistributedJoins = true + EnableDistributedJoins = true, + Timeout = new TimeSpan(0, 1, 0) }); Console.WriteLine(); http://git-wip-us.apache.org/repos/asf/ignite/blob/f8142fd9/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Sql/LinqExample.cs ---------------------------------------------------------------------- diff --git a/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Sql/LinqExample.cs b/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Sql/LinqExample.cs index ee2fd90..9a71fca 100644 --- a/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Sql/LinqExample.cs +++ b/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Sql/LinqExample.cs @@ -173,7 +173,11 @@ namespace Apache.Ignite.Examples.Sql { const string orgName = "Apache"; - var queryOptions = new QueryOptions {EnableDistributedJoins = true}; + var queryOptions = new QueryOptions + { + EnableDistributedJoins = true, + Timeout = new TimeSpan(0, 1, 0) + }; IQueryable<ICacheEntry<int, Employee>> employees = employeeCache.AsCacheQueryable(queryOptions); IQueryable<ICacheEntry<int, Organization>> organizations = organizationCache.AsCacheQueryable(queryOptions); http://git-wip-us.apache.org/repos/asf/ignite/blob/f8142fd9/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Sql/SqlExample.cs ---------------------------------------------------------------------- diff --git a/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Sql/SqlExample.cs b/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Sql/SqlExample.cs index 15b9d40..9fb7921 100644 --- a/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Sql/SqlExample.cs +++ b/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Sql/SqlExample.cs @@ -140,7 +140,8 @@ namespace Apache.Ignite.Examples.Sql "from Employee, \"dotnet_cache_query_organization\".Organization " + "where Employee.organizationId = Organization._key and Organization.name = ?", orgName) { - EnableDistributedJoins = true + EnableDistributedJoins = true, + Timeout = new TimeSpan(0, 1, 0) }); Console.WriteLine();
