Skip to content

Commit

Permalink
Merge pull request #9907 from klaren/3.3-idreuse-st-debug
Browse files Browse the repository at this point in the history
Added error messages to IdReusabilityStressTesting for better understanding
  • Loading branch information
klaren committed Aug 25, 2017
2 parents 6184843 + 4395967 commit b2d52bf
Showing 1 changed file with 14 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,11 @@ public void shouldBehaveCorrectlyUnderStress() throws Exception

Futures.combine( insertLoad, deleteLoad1, deleteLoad2, reelectionLoad ).get( durationInMinutes + 5, MINUTES );
}
catch ( Throwable e )
{
System.out.println( "Exception thrown from execution service:" );
e.printStackTrace();
}
finally
{
service.shutdown();
Expand Down Expand Up @@ -266,7 +271,9 @@ protected void doWork()
return;
}

throw new RuntimeException( e );
// Ignore throws for now
System.out.println( "InsertionWorkload encountered error:" );
e.printStackTrace();
}
}
}
Expand Down Expand Up @@ -302,7 +309,9 @@ protected void doWork()
return;
}

throw new RuntimeException( e );
// Ignore throws for now
System.out.println( "ReelectionWorkload encountered error:" );
e.printStackTrace();
}
}
}
Expand Down Expand Up @@ -346,7 +355,9 @@ protected void doWork()
return;
}

throw new RuntimeException( e );
// Ignore throws for now
System.out.println( "DeletionWorkload encountered error:" );
e.printStackTrace();
}
}
}
Expand Down

0 comments on commit b2d52bf

Please sign in to comment.