From 3a17a60d4c691d2c0498585284fff5491e42959f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20L=C3=A9aut=C3=A9?= Date: Thu, 15 May 2014 16:27:13 -0700 Subject: [PATCH] more comprehensive merge sequence tests --- .../collections/OrderedMergeSequenceTest.java | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/common/src/test/java/io/druid/collections/OrderedMergeSequenceTest.java b/common/src/test/java/io/druid/collections/OrderedMergeSequenceTest.java index 7beb4bf3fb8..1f606eab1ef 100644 --- a/common/src/test/java/io/druid/collections/OrderedMergeSequenceTest.java +++ b/common/src/test/java/io/druid/collections/OrderedMergeSequenceTest.java @@ -323,19 +323,6 @@ public class OrderedMergeSequenceTest ) ); - Yielder yielder = seq1.toYielder( - null, - new YieldingAccumulator() - { - @Override - public Integer accumulate(Integer accumulated, Integer in) - { - yield(); - return in; - } - } - ); - - Assert.assertFalse(yielder.isDone()); + SequenceTestHelper.testAll(seq1, Arrays.asList(1)); } }