mirror of https://github.com/apache/druid.git
Rename BitmapOperationTest base class to avoid flaky test. (#11102)
PR #10936 renamed BitmapBenchmark, the parent of a couple of bitmap tests, to BitmapOperationTest. This patch renames it to BitmapOperationTestBase so JUnit doesn't pick it up as a test case. When JUnit picks it up, it becomes a flaky test, since its behavior and correctness depends on whether it runs before or after its subclasses.
This commit is contained in:
parent
c8e394015d
commit
c158207ab6
|
@ -26,7 +26,7 @@ import org.roaringbitmap.buffer.MutableRoaringBitmap;
|
|||
|
||||
import java.util.BitSet;
|
||||
|
||||
public class BitmapOperationAgainstConsecutiveRunsTest extends BitmapOperationTest
|
||||
public class BitmapOperationAgainstConsecutiveRunsTest extends BitmapOperationTestBase
|
||||
{
|
||||
|
||||
public static final double DENSITY = 0.001;
|
||||
|
|
|
@ -26,7 +26,7 @@ import org.roaringbitmap.buffer.MutableRoaringBitmap;
|
|||
|
||||
import java.util.BitSet;
|
||||
|
||||
public class BitmapOperationAgainstUniformDistributionTest extends BitmapOperationTest
|
||||
public class BitmapOperationAgainstUniformDistributionTest extends BitmapOperationTestBase
|
||||
{
|
||||
public static final double DENSITY = 0.01;
|
||||
public static final int MIN_INTERSECT = 50;
|
||||
|
|
|
@ -35,7 +35,7 @@ import java.util.Arrays;
|
|||
import java.util.Locale;
|
||||
import java.util.Random;
|
||||
|
||||
public class BitmapOperationTest
|
||||
public abstract class BitmapOperationTestBase
|
||||
{
|
||||
public static final int BITMAP_LENGTH = 500_000;
|
||||
public static final int NUM_BITMAPS = 1000;
|
Loading…
Reference in New Issue