Vladislav Pyatkov created IGNITE-28647:
------------------------------------------

             Summary: testNextPageRequestFailure and testDistributedJoin are 
flaky.
                 Key: IGNITE-28647
                 URL: https://issues.apache.org/jira/browse/IGNITE-28647
             Project: Ignite
          Issue Type: Bug
            Reporter: Vladislav Pyatkov
            Assignee: Vladislav Pyatkov


Some tests on Open Census tags are unstable on TC.
{noformat}
java.lang.AssertionError: expected:<1> but was:<0>
  at org.junit.Assert.fail(Assert.java:88)
  at org.junit.Assert.failNotEquals(Assert.java:834)
  at org.junit.Assert.assertEquals(Assert.java:645)
  at org.junit.Assert.assertEquals(Assert.java:631)
  at 
org.apache.ignite.testframework.junits.JUnitAssertAware.assertEquals(JUnitAssertAware.java:95)
  at 
org.apache.ignite.internal.processors.monitoring.opencensus.AbstractTracingTest.checkSpan(AbstractTracingTest.java:245)
  at 
org.apache.ignite.internal.processors.monitoring.opencensus.AbstractTracingTest.checkSpan(AbstractTracingTest.java:219)
  at 
org.apache.ignite.internal.processors.monitoring.opencensus.OpenCensusSqlNativeTracingTest.checkChildSpan(OpenCensusSqlNativeTracingTest.java:615)
  at 
org.apache.ignite.internal.processors.monitoring.opencensus.OpenCensusSqlNativeTracingTest.testNextPageRequestFailure(OpenCensusSqlNativeTracingTest.java:464)
  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
  at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
  at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
  at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
  at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  at 
org.apache.ignite.testframework.junits.GridAbstractTest$6.run(GridAbstractTest.java:2486)
  at java.base/java.lang.Thread.run(Thread.java:829)
{noformat}
As it seems to me, the main reason is the lack of guarantees of the finalized 
messaging process in communication when the client's operation is completed. 
That's why not all Open Census spans are created and can be checked immediately.



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

Reply via email to