eolivelli commented on a change in pull request #253: Fixes [SUREFIRE-1516]: 
Poor performance in reuseForks=false
URL: https://github.com/apache/maven-surefire/pull/253#discussion_r358743737
 
 

 ##########
 File path: 
surefire-api/src/main/java/org/apache/maven/surefire/booter/CommandReader.java
 ##########
 @@ -412,6 +412,10 @@ public void run()
                                 CommandReader.this.wakeupIterator();
                                 callListeners( command );
                                 break;
+                            case BYE_ACK:
+                                //After SHUTDOWN no more commands can come. 
Hence, do NOT go back to blocking in IO
+                                callListeners( command );
+                                return;
                             default:
                                 callListeners( command );
 
 Review comment:
   Yes, I came to this same conclusion, change the state to TERMINATED.

----------------------------------------------------------------
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

Reply via email to