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

testStartJoinFinishOK is flaky

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • 3.0.0-alpha3
    • None

    Description

      https://ci.ignite.apache.org/viewLog.html?buildId=6067424&buildTypeId=ignite3_Test_RunUnitTests

      org.mockito.exceptions.base.MockitoException:

      No argument value was captured!
      You might have forgotten to use argument.capture() in verify()...
      ...or you used capture() in stubbing but stubbed method was not called.
      Be aware that it is recommended to use capture() only with verify()

      Examples of correct argument capturing:
      ArgumentCaptor<Person> argument = ArgumentCaptor.forClass(Person.class);
      verify(mock).doSomething(argument.capture());
      assertEquals("John", argument.getValue().getName());

      at org.apache.ignite.raft.jraft.storage.snapshot.local.LocalSnapshotCopierTest.testStartJoinFinishOK(LocalSnapshotCopierTest.java:199)
      ------- Stderr: -------
      2021-06-22 13:50:50:108 +0300 [main] INFO LogScheduledThreadPoolExecutor - ThreadPool is terminated: JRaft-Node-ScheduleThreadPool, org.apache.ignite.raft.jraft.util.MetricScheduledThreadPoolExecutor@44492c06[Shutting down, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0].
      « Hide stacktrace Copy to clipboard

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ascherbakov Alexey Scherbakov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: