[native] Using setupNativeSidecarPlugin
in tests outside presto-native-sidecar-plugin
#24422
Labels
setupNativeSidecarPlugin
in tests outside presto-native-sidecar-plugin
#24422
Helper function
setupNativeSidecarPlugin
inpresto-native-sidecar-plugin/src/test/java/com/facebook/presto/sidecar/NativeSidecarPluginQueryRunnerUtils.java
enables user to install the native sidecar plugin on theQueryRunner
used for tests. This function is currently only used in the modulepresto-native-sidecar-plugin
; attempting to use this function in a different module (presto-native-tests
in this case) results in the following error:Dependency in module's
pom.xml
(presto-native-tests/pom.xml
in this case):This error came up while trying to add the native sidecar coordinator plugin to native query runner for running tests in
presto-native-tests
.Having a dependency on
presto-native-sidecar-plugin
with two different scopes,test
(to accessNativeSidecarPluginQueryRunnerUtils.setupNativeSidecarPlugin
) andcompile
(to accessNativeSidecarPlugin
), appears to resolve the error. However this change throws an error withmaven-checks
Github action:Not sure if this is the right fix, or whether the function
setupNativeSidecarPlugin
needs to be modified. Opening this issue to discuss a potential fix for this error.cc: @aditi-pandit @tdcmeehan @pdabre12
The text was updated successfully, but these errors were encountered: