Cannot find schema for object with compact footer - fix .NET test
Problem seems to be solved. Retry mechanism removed from tests.
namespace Apache.Ignite.Core.Tests.Binary
{
- using System;
using System.Collections;
using System.Linq;
using Apache.Ignite.Core.Binary;
@@ -63,33 +62,15 @@ namespace Apache.Ignite.Core.Tests.Binary
/// </summary>
[Test]
public void TestFromJava([Values(true, false)] bool client)
- {
- // Retry multiple times: IGNITE-4377
- for (int i = 0; i < 10; i++)
{
var grid = client ? _clientGrid : _grid;
- try
- {
- grid.GetOrCreateCache<int, int>("default").Put(ComputeApiTest.EchoTypeBinarizable, i * 99);
+ grid.GetOrCreateCache<int, int>("default").Put(ComputeApiTest.EchoTypeBinarizable, 99);
var fromJava = grid.GetCompute().ExecuteJavaTask<PlatformComputeBinarizable>(
ComputeApiTest.EchoTask, ComputeApiTest.EchoTypeBinarizable);
- Assert.AreEqual(i * 99, fromJava.Field);
-
- return;
- }
- catch (Exception ex)
- {
- Console.WriteLine("TestFromJava failed on try {0}: \n {1}", i, ex);
-
- if (i < 9)
- continue;
-
- throw;
- }
- }
+ Assert.AreEqual(99, fromJava.Field);
}
/// <summary>
