vvysotskyi commented on a change in pull request #1415: DRILL-6656: Disallow 
extra semicolons in import statements.
URL: https://github.com/apache/drill/pull/1415#discussion_r208870633
 
 

 ##########
 File path: 
exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestDistributedFragmentRun.java
 ##########
 @@ -82,16 +84,17 @@ public void oneBitOneExchangeTwoEntryRun() throws 
Exception{
     public void oneBitOneExchangeTwoEntryRunLogical() throws Exception{
         RemoteServiceSet serviceSet = RemoteServiceSet.getLocalServiceSet();
 
-        try(Drillbit bit1 = new Drillbit(CONFIG, serviceSet); DrillClient 
client = new DrillClient(CONFIG, serviceSet.getCoordinator());){
-            bit1.run();
-            client.connect();
-            List<QueryDataBatch> results = client.runQuery(QueryType.LOGICAL, 
Files.toString(DrillFileUtils.getResourceAsFile("/scan_screen_logical.json"), 
Charsets.UTF_8));
-            int count = 0;
-            for(QueryDataBatch b : results){
-                count += b.getHeader().getRowCount();
-                b.release();
-            }
-            assertEquals(100, count);
+        try(Drillbit bit1 = new Drillbit(CONFIG, serviceSet);
+            DrillClient client = new DrillClient(CONFIG, 
serviceSet.getCoordinator())){
 
 Review comment:
   `){` -> `) {`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Reply via email to