Skip to content

Commit

Permalink
[SUREFIRE-1516] Poor performance in reuseForks=false
Browse files Browse the repository at this point in the history
  • Loading branch information
Tibor17 committed Dec 29, 2019
1 parent 2e65fb2 commit 5148b02
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,12 @@ public void run()
CommandReader.this.wakeupIterator();
callListeners( command );
break;
case BYE_ACK:
callListeners( command );
// After SHUTDOWN no more commands can come.
// Hence, do NOT go back to blocking in I/O.
CommandReader.this.state.set( TERMINATED );
break;
default:
callListeners( command );
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public abstract class BaseForkTimeout
{
protected void dumpStuff( String prefix )
{
reallySleep( 990 );
reallySleep( 1350L );
for ( int i = 0; i < 200; i++ )
{
System.out.println( prefix + " with lots of output " + i );
Expand Down

0 comments on commit 5148b02

Please sign in to comment.