Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
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
- is part of
-
IGNITE-14832 Investigate remaining TODOs in org.apache.ignite.raft.jraft package
- Open