increase timeout for External sort test.
Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/74c1d1b8 Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/74c1d1b8 Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/74c1d1b8 Branch: refs/heads/master Commit: 74c1d1b843d25f58b9b8271c0dedfef2c9e21432 Parents: b4bdc37 Author: Jacques Nadeau <[email protected]> Authored: Thu May 15 16:59:28 2014 -0700 Committer: Jacques Nadeau <[email protected]> Committed: Thu May 15 16:59:28 2014 -0700 ---------------------------------------------------------------------- .../exec/physical/impl/xsort/TestSimpleExternalSort.java | 7 +++++++ 1 file changed, 7 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/74c1d1b8/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/xsort/TestSimpleExternalSort.java ---------------------------------------------------------------------- diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/xsort/TestSimpleExternalSort.java b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/xsort/TestSimpleExternalSort.java index df123e7..587e562 100644 --- a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/xsort/TestSimpleExternalSort.java +++ b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/xsort/TestSimpleExternalSort.java @@ -19,10 +19,12 @@ package org.apache.drill.exec.physical.impl.xsort; import com.google.common.base.Charsets; import com.google.common.io.Files; + import org.apache.drill.common.config.DrillConfig; import org.apache.drill.common.expression.ExpressionPosition; import org.apache.drill.common.expression.SchemaPath; import org.apache.drill.common.util.FileUtils; +import org.apache.drill.common.util.TestTools; import org.apache.drill.exec.client.DrillClient; import org.apache.drill.exec.pop.PopUnitTestBase; import org.apache.drill.exec.proto.UserProtos; @@ -31,18 +33,23 @@ import org.apache.drill.exec.rpc.user.QueryResultBatch; import org.apache.drill.exec.server.Drillbit; import org.apache.drill.exec.server.RemoteServiceSet; import org.apache.drill.exec.vector.BigIntVector; +import org.junit.Rule; import org.junit.Test; +import org.junit.rules.TestRule; import java.util.List; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; + public class TestSimpleExternalSort extends PopUnitTestBase { static final org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(TestSimpleExternalSort.class); DrillConfig c = DrillConfig.create(); + @Rule public final TestRule TIMEOUT = TestTools.getTimeoutRule(80000); + @Test public void sortOneKeyDescendingMergeSort() throws Throwable{ RemoteServiceSet serviceSet = RemoteServiceSet.getLocalServiceSet();
