hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jl...@apache.org
Subject hadoop git commit: YARN-6552. Increase YARN test timeouts from 1 second to 10 seconds. Contributed by Eric Badger
Date Wed, 10 May 2017 13:48:36 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk 2ba990393 -> 6099deebc


YARN-6552. Increase YARN test timeouts from 1 second to 10 seconds. Contributed by Eric Badger


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/6099deeb
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/6099deeb
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/6099deeb

Branch: refs/heads/trunk
Commit: 6099deebcb0ea23adc0f0c62db749c8f528869e9
Parents: 2ba9903
Author: Jason Lowe <jlowe@yahoo-inc.com>
Authored: Wed May 10 08:47:48 2017 -0500
Committer: Jason Lowe <jlowe@yahoo-inc.com>
Committed: Wed May 10 08:47:48 2017 -0500

----------------------------------------------------------------------
 .../java/org/apache/hadoop/yarn/client/cli/TestLogsCLI.java    | 2 +-
 .../scheduler/fair/policies/TestEmptyQueues.java               | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/6099deeb/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestLogsCLI.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestLogsCLI.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestLogsCLI.java
index 37c859c..c054209 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestLogsCLI.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestLogsCLI.java
@@ -126,7 +126,7 @@ public class TestLogsCLI {
     assertTrue("Should return an error code", exitCode != 0);
   }
 
-  @Test(timeout = 1000l)
+  @Test(timeout = 10000l)
   public void testInvalidOpts() throws Exception {
     Configuration conf = new YarnConfiguration();
     YarnClient mockYarnClient = createMockYarnClient(

http://git-wip-us.apache.org/repos/asf/hadoop/blob/6099deeb/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/TestEmptyQueues.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/TestEmptyQueues.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/TestEmptyQueues.java
index 4636c5b..7511cec 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/TestEmptyQueues.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/TestEmptyQueues.java
@@ -39,17 +39,17 @@ public class TestEmptyQueues {
     policy.computeShares(schedulables, Resources.none());
   }
 
-  @Test (timeout = 1000)
+  @Test (timeout = 10000)
   public void testFifoPolicy() {
     testComputeShares(SchedulingPolicy.getInstance(FifoPolicy.class));
   }
 
-  @Test (timeout = 1000)
+  @Test (timeout = 10000)
   public void testFairSharePolicy() {
     testComputeShares(SchedulingPolicy.getInstance(FairSharePolicy.class));
   }
 
-  @Test (timeout = 1000)
+  @Test (timeout = 10000)
   public void testDRFPolicy() {
     testComputeShares(
         SchedulingPolicy.getInstance(DominantResourceFairnessPolicy.class));


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message