LUCENE-3606: avoid nocommit in test names

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3606@1211007 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2011-12-06 16:39:02 +00:00
parent caedbf9ef9
commit 58372c2842
2 changed files with 2 additions and 2 deletions

View File

@ -476,7 +476,7 @@ public class TestIndexWriterCommit extends LuceneTestCase {
dir.close(); dir.close();
} }
public void testNoCommits() throws Exception { public void testZeroCommits() throws Exception {
// Tests that if we don't call commit(), the directory has 0 commits. This has // Tests that if we don't call commit(), the directory has 0 commits. This has
// changed since LUCENE-2386, where before IW would always commit on a fresh // changed since LUCENE-2386, where before IW would always commit on a fresh
// new index. // new index.

View File

@ -90,7 +90,7 @@ public class TestSqlEntityProcessor2 extends AbstractDataImportHandlerTestCase {
@Test @Test
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
public void testCompositePk_FullImportNoCommit() throws Exception { public void testCompositePk_FullImportWithoutCommit() throws Exception {
List parentRow = new ArrayList(); List parentRow = new ArrayList();
parentRow.add(createMap("id", "10")); parentRow.add(createMap("id", "10"));
MockDataSource.setIterator("select * from x", parentRow.iterator()); MockDataSource.setIterator("select * from x", parentRow.iterator());