print more details on test failure

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@983328 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2010-08-08 00:19:34 +00:00
parent 2985250ece
commit ee9cd510cc
1 changed files with 1 additions and 1 deletions

View File

@ -4606,7 +4606,7 @@ public class TestIndexWriter extends LuceneTestCase {
assertTrue(r2 != r);
r.close();
r = r2;
assertEquals("term=f:" + s, 1, r.docFreq(new Term("f", s)));
assertEquals("term=f:" + s + "; r=" + r, 1, r.docFreq(new Term("f", s)));
}
} while(System.currentTimeMillis() < endTime);
r.close();