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_r286353432
########## File path: exec/java-exec/src/test/java/org/apache/drill/exec/store/store/TestDisabledPlugin.java ########## @@ -58,10 +56,10 @@ public static void restore() throws Exception { public void testDisabledPluginQuery() throws Exception { try { run("SELECT * FROM cp.`employee.json` LIMIT 10"); - fail("Query should have failed!"); + Assert.fail("Query should have failed!"); Review comment: In Drill unit tests we usually use static import for assert methods. Please revert. ---------------------------------------------------------------- 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