sashapolo commented on code in PR #979:
URL: https://github.com/apache/ignite-3/pull/979#discussion_r938642675
##########
modules/core/src/test/java/org/apache/ignite/internal/testframework/VariableArgumentsProvider.java:
##########
@@ -45,7 +45,7 @@ public void accept(VariableSource variableSource) {
public Stream<? extends Arguments> provideArguments(ExtensionContext
context) throws Exception {
Class<?> testClass = context.getRequiredTestClass();
- Field source = testClass.getDeclaredField(variableName);
+ Field source = testClass.getField(variableName);
Review Comment:
`getDeclaredField` doesn't look into fields that are declared in
superclasses. It could be fixed by manually traversing the hierarchy, but I
don't see anything wrong with simply declaring these variables as `public`
--
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]