arina-ielchiieva commented on a change in pull request #1794: DRILL-7196: Queries are still runnable on disabled plugins URL: https://github.com/apache/drill/pull/1794#discussion_r286349082
########## File path: contrib/storage-mongo/src/test/java/org/apache/drill/exec/store/mongo/TestMongoProjectPushDown.java ########## @@ -63,32 +63,42 @@ public void testComplexProjectPushdown() throws Exception { "inner_3", mapOf())) .go(); } finally { - test(String.format("alter session set `%s` = false", ExecConstants.MONGO_READER_READ_NUMBERS_AS_DOUBLE)); + client.runSqlSilently(String.format("alter session set `%s` = false", ExecConstants.MONGO_READER_READ_NUMBERS_AS_DOUBLE)); Review comment: 1. Use run method 2. No need to use String.format ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services