Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-10907

IgniteUtilsSelfTest.testDoInParallelWithStealingJobRunTaskInExecutor flaky failed in Basic 1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8
    • None

    Description

      The main problem in a test. The test suggests that the current thread will steal a job, but there is a case when it is not satisfied.

      TC link

       java.util.concurrent.ExecutionException: java.lang.AssertionError
       at java.util.concurrent.FutureTask.report(FutureTask.java:122)
       at java.util.concurrent.FutureTask.get(FutureTask.java:192)
       at org.apache.ignite.internal.util.IgniteUtilsSelfTest.testDoInParallelWithStealingJobRunTaskInExecutor(IgniteUtilsSelfTest.java:1081)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:498)
       at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
       at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
       at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
       at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
       at org.apache.ignite.testframework.junits.GridAbstractTest$6.run(GridAbstractTest.java:2088)
       at java.lang.Thread.run(Thread.java:748)
       Caused by: java.lang.AssertionError
       at org.junit.Assert.fail(Assert.java:86)
       at org.junit.Assert.assertTrue(Assert.java:41)
       at org.junit.Assert.assertTrue(Assert.java:52)
       at org.apache.ignite.internal.util.IgniteUtilsSelfTest.runTask(IgniteUtilsSelfTest.java:1115)
       at org.apache.ignite.internal.util.IgniteUtilsSelfTest.lambda$testDoInParallelWithStealingJobRunTaskInExecutor$1(IgniteUtilsSelfTest.java:1077)
       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
       ... 1 more
      
      

      Attachments

        Activity

          People

            DmitriyGovorukhin Dmitriy Govorukhin
            DmitriyGovorukhin Dmitriy Govorukhin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: