rpuch commented on code in PR #1461:
URL: https://github.com/apache/ignite-3/pull/1461#discussion_r1057612945
##########
modules/configuration/src/testFixtures/java/org/apache/ignite/internal/configuration/testframework/ConfigurationExtension.java:
##########
@@ -273,7 +274,7 @@ private static Object cfgValue(
);
// RootKey must be mocked, there's no way to instantiate it using a
public constructor.
- RootKey rootKey = mock(RootKey.class);
+ RootKey rootKey = mock(RootKey.class, withSettings().lenient());
Review Comment:
Without `lenient`, a test (unrelated to this PR) started failing. It
happened because I had to add `@ExtendWith(ConfigurationExtension)`.
The mock `RootKey` has to be lenient so that it does not fail a test in
which any of the mocked method is not called.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]