don't allocate 128MB of ram in this assert

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1223047 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2011-12-25 04:24:06 +00:00
parent 742a565253
commit 17438c9eac
1 changed files with 2 additions and 2 deletions

View File

@ -100,8 +100,8 @@ public class TestSort extends LuceneTestCase {
private void assertFilesIdentical(File golden, File sorted) throws IOException {
assertEquals(golden.length(), sorted.length());
byte [] buf1 = new byte [64 * 1024 * 1024];
byte [] buf2 = new byte [64 * 1024 * 1024];
byte [] buf1 = new byte [64 * 1024];
byte [] buf2 = new byte [64 * 1024];
int len;
DataInputStream is1 = new DataInputStream(new FileInputStream(golden));
DataInputStream is2 = new DataInputStream(new FileInputStream(sorted));