Skip to content

Commit

Permalink
Minor: don't print error messages in unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
lkancode committed Aug 7, 2017
1 parent 561f783 commit bad85ca
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public void populate(WriteState newState) throws Exception {
Assert.fail();
} catch (ValidationException expected) {
Assert.assertEquals(1, expected.getIndividualFailures().size());
System.out.println("Message:"+expected.getIndividualFailures().get(0).getMessage());
//System.out.println("Message:"+expected.getIndividualFailures().get(0).getMessage());
Assert.assertTrue(expected.getIndividualFailures().get(0).getMessage()
.startsWith("RecordCountVarianceValidator for type TypeWithPrimaryKey failed."));
}
Expand Down Expand Up @@ -95,7 +95,7 @@ public void populate(WriteState newState) throws Exception {
});
Assert.fail();
} catch (ValidationException expected) {
System.out.println("Message:"+expected.getIndividualFailures().get(0).getMessage());
//System.out.println("Message:"+expected.getIndividualFailures().get(0).getMessage());
Assert.assertEquals(1, expected.getIndividualFailures().size());
Assert.assertTrue(expected.getIndividualFailures().get(0).getMessage()
.startsWith("RecordCountVarianceValidator for type TypeWithPrimaryKey failed."));
Expand Down

0 comments on commit bad85ca

Please sign in to comment.