It would be good to use newer `ClusterTest`, since `BaseTestQuery` is
deprecated.
You can get something similar to:
```
@BeforeClass
public static void setUp() throws Exception {
ClusterFixtureBuilder builder = ClusterFixture.builder(dirTestWatcher);
startCluster(builder);
StoragePluginRegistry pluginRegistry =
client.cluster().drillbit().getContext().getStorage();
FileSystemConfig pluginConfig = (FileSystemConfig)
pluginRegistry.getPlugin(CP_PLUGIN_NAME).getConfig();
pluginConfig.setEnabled(false);
pluginRegistry.createOrUpdate(CP_PLUGIN_NAME, pluginConfig, true);
}
```
and `testBuilder().sqlQuery(query)`...
Consider it, but it is not mandatory.
[ Full content available at: https://github.com/apache/drill/pull/1460 ]
This message was relayed via gitbox.apache.org for [email protected]