You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ss...@apache.org on 2016/07/28 00:20:18 UTC

hive git commit: HIVE-14364. Update timeouts for llap comparator tests. (Siddharth Seth, reviewed by Gunther Hagleitner)

Repository: hive
Updated Branches:
  refs/heads/master 44d39c6f2 -> 7938668b4


HIVE-14364. Update timeouts for llap comparator tests. (Siddharth Seth, reviewed by Gunther Hagleitner)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/7938668b
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/7938668b
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/7938668b

Branch: refs/heads/master
Commit: 7938668b40e4785175ee2278bde033e15d804767
Parents: 44d39c6
Author: Siddharth Seth <ss...@apache.org>
Authored: Wed Jul 27 17:19:39 2016 -0700
Committer: Siddharth Seth <ss...@apache.org>
Committed: Wed Jul 27 17:19:39 2016 -0700

----------------------------------------------------------------------
 .../daemon/impl/comparator/TestFirstInFirstOutComparator.java  | 6 +++---
 .../daemon/impl/comparator/TestShortestJobFirstComparator.java | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/7938668b/llap-server/src/test/org/apache/hadoop/hive/llap/daemon/impl/comparator/TestFirstInFirstOutComparator.java
----------------------------------------------------------------------
diff --git a/llap-server/src/test/org/apache/hadoop/hive/llap/daemon/impl/comparator/TestFirstInFirstOutComparator.java b/llap-server/src/test/org/apache/hadoop/hive/llap/daemon/impl/comparator/TestFirstInFirstOutComparator.java
index 53c19b4..5ea62aa 100644
--- a/llap-server/src/test/org/apache/hadoop/hive/llap/daemon/impl/comparator/TestFirstInFirstOutComparator.java
+++ b/llap-server/src/test/org/apache/hadoop/hive/llap/daemon/impl/comparator/TestFirstInFirstOutComparator.java
@@ -89,7 +89,7 @@ public class TestFirstInFirstOutComparator {
         .build();
   }
 
-  @Test
+  @Test (timeout = 60000)
   public void testWaitQueueComparator() throws InterruptedException {
     TaskWrapper r1 = createTaskWrapper(createRequest(1, 2, 5, 100), false, 100000);
     TaskWrapper r2 = createTaskWrapper(createRequest(2, 4, 4, 200), false, 100000);
@@ -246,7 +246,7 @@ public class TestFirstInFirstOutComparator {
     assertEquals(r2, queue.take());
   }
 
-  @Test(timeout = 5000)
+  @Test(timeout = 60000)
   public void testWaitQueueComparatorWithinDagPriority() throws InterruptedException {
     TaskWrapper r1 = createTaskWrapper(createRequest(1, 1, 0, 100, 100, 10), false, 100000);
     TaskWrapper r2 = createTaskWrapper(createRequest(2, 1, 0, 100, 100, 1), false, 100000);
@@ -264,7 +264,7 @@ public class TestFirstInFirstOutComparator {
     assertEquals(r1, queue.take());
   }
 
-  @Test(timeout = 5000)
+  @Test(timeout = 60000)
   public void testWaitQueueComparatorParallelism() throws InterruptedException {
     TaskWrapper r1 = createTaskWrapper(createRequest(1, 10, 3, 100, 100, 1), false, 100000);
     TaskWrapper r2 = createTaskWrapper(createRequest(2, 10, 7, 100, 100, 1), false, 100000);

http://git-wip-us.apache.org/repos/asf/hive/blob/7938668b/llap-server/src/test/org/apache/hadoop/hive/llap/daemon/impl/comparator/TestShortestJobFirstComparator.java
----------------------------------------------------------------------
diff --git a/llap-server/src/test/org/apache/hadoop/hive/llap/daemon/impl/comparator/TestShortestJobFirstComparator.java b/llap-server/src/test/org/apache/hadoop/hive/llap/daemon/impl/comparator/TestShortestJobFirstComparator.java
index 9dafd15..f50c657 100644
--- a/llap-server/src/test/org/apache/hadoop/hive/llap/daemon/impl/comparator/TestShortestJobFirstComparator.java
+++ b/llap-server/src/test/org/apache/hadoop/hive/llap/daemon/impl/comparator/TestShortestJobFirstComparator.java
@@ -26,7 +26,7 @@ import org.junit.Test;
 public class TestShortestJobFirstComparator {
 
 
-  @Test(timeout = 5000)
+  @Test(timeout = 60000)
   public void testWaitQueueComparator() throws InterruptedException {
     TaskWrapper r1 = createTaskWrapper(createSubmitWorkRequestProto(1, 2, 100), false, 100000);
     TaskWrapper r2 = createTaskWrapper(createSubmitWorkRequestProto(2, 4, 200), false, 100000);
@@ -161,7 +161,7 @@ public class TestShortestJobFirstComparator {
     assertEquals(r5, queue.take());
   }
 
-  @Test(timeout = 5000)
+  @Test(timeout = 60000)
   public void testWaitQueueComparatorWithinDagPriority() throws InterruptedException {
     TaskWrapper r1 = createTaskWrapper(createSubmitWorkRequestProto(1, 1, 0, 100, 10), false, 100000);
     TaskWrapper r2 = createTaskWrapper(createSubmitWorkRequestProto(2, 1, 0, 100, 1), false, 100000);
@@ -179,7 +179,7 @@ public class TestShortestJobFirstComparator {
     assertEquals(r1, queue.take());
   }
 
-  @Test(timeout = 5000)
+  @Test(timeout = 60000)
   public void testWaitQueueComparatorParallelism() throws InterruptedException {
     TaskWrapper r1 = createTaskWrapper(createSubmitWorkRequestProto(1, 10, 3, 100, 1), false, 100000); // 7 pending
     TaskWrapper r2 = createTaskWrapper(createSubmitWorkRequestProto(2, 10, 7, 100, 1), false, 100000); // 3 pending