Print out slightly more on test-failure for a unit tests which fails intermittently

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1675266 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2015-04-22 06:49:38 +00:00
parent d1385bbe1b
commit f5c3a2a62c

View File

@ -33,6 +33,7 @@ import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Arrays;
import java.util.Calendar;
import java.util.List;
@ -1542,7 +1543,8 @@ public final class TestXSSFBugs extends BaseTestBugzillaIssues {
wb.write(bos);
byte secondSave[] = bos.toByteArray();
assertArrayEquals(firstSave, secondSave);
assertArrayEquals("Had: \n" + Arrays.toString(firstSave) + " and \n" + Arrays.toString(secondSave),
firstSave, secondSave);
wb.close();
}