You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by qh...@apache.org on 2015/09/23 05:29:25 UTC
[11/11] incubator-kylin git commit: fix
fix
Project: http://git-wip-us.apache.org/repos/asf/incubator-kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kylin/commit/919cb995
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kylin/tree/919cb995
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kylin/diff/919cb995
Branch: refs/heads/KYLIN-1011
Commit: 919cb9951562a0379d60b075d1670be2e31a7cd6
Parents: b5621dc
Author: qianhao.zhou <qi...@ebay.com>
Authored: Wed Sep 23 11:28:35 2015 +0800
Committer: qianhao.zhou <qi...@ebay.com>
Committed: Wed Sep 23 11:28:35 2015 +0800
----------------------------------------------------------------------
.../src/test/java/org/apache/kylin/job/BuildIIWithStreamTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/919cb995/assembly/src/test/java/org/apache/kylin/job/BuildIIWithStreamTest.java
----------------------------------------------------------------------
diff --git a/assembly/src/test/java/org/apache/kylin/job/BuildIIWithStreamTest.java b/assembly/src/test/java/org/apache/kylin/job/BuildIIWithStreamTest.java
index 2e84a84..e77598f 100644
--- a/assembly/src/test/java/org/apache/kylin/job/BuildIIWithStreamTest.java
+++ b/assembly/src/test/java/org/apache/kylin/job/BuildIIWithStreamTest.java
@@ -200,7 +200,7 @@ public class BuildIIWithStreamTest {
int count = sorted.size();
ArrayList<StreamingMessage> messages = Lists.newArrayList();
for (String[] row : sorted) {
- if (messages.size() >= iiDesc.getSliceSize()) {
+ if (messages.size() < iiDesc.getSliceSize()) {
messages.add(parse(row));
} else {
build(sliceBuilder, new StreamingBatch(messages, Pair.newPair(System.currentTimeMillis(), System.currentTimeMillis())), htable);