LUCENE-3711: add CHANGES entry

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1233708 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2012-01-20 01:41:54 +00:00
parent 5f33d8d2ae
commit 53270bdb9c
2 changed files with 6 additions and 12 deletions

View File

@ -825,6 +825,12 @@ Bug fixes
* LUCENE-3605: don't sleep in a retry loop when trying to locate the
segments_N file (Robert Muir, Mike McCandless)
* LUCENE-3711: SentinelIntSet with a small initial size can go into
an infinite loop when expanded. This can affect grouping using
TermAllGroupsCollector or TermAllGroupHeadsCollector if instantiated with a
non default small size. (Martijn van Groningen, yonik)
Optimizations
* LUCENE-3653: Improve concurrency in VirtualMethod and AttributeSource by

View File

@ -48,18 +48,6 @@ public class TestSentinelIntSet extends LuceneTestCase {
assertEquals(24, set.rehashCount);
}
@Test
public void testRehash() throws Exception {
SentinelIntSet set = new SentinelIntSet(3, -1);
set.put(1);
set.find(99);
set.put(2);
set.find(99);
set.put(3);
set.find(99);
set.put(4);
set.find(99);
}
@Test
public void testRandom() throws Exception {