hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lium...@apache.org
Subject [32/40] hadoop git commit: YARN-6217. TestLocalCacheDirectoryManager test timeout is too aggressive. Contributed by Miklos Szegedi
Date Mon, 20 Mar 2017 23:18:43 GMT
YARN-6217. TestLocalCacheDirectoryManager test timeout is too aggressive. Contributed by Miklos
Szegedi


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

Branch: refs/heads/HADOOP-13345
Commit: 4a8e3045027036afebbcb80f23b7a2886e56c255
Parents: 92ea6d7
Author: Jason Lowe <jlowe@yahoo-inc.com>
Authored: Fri Mar 17 14:06:35 2017 -0500
Committer: Jason Lowe <jlowe@yahoo-inc.com>
Committed: Fri Mar 17 14:06:35 2017 -0500

----------------------------------------------------------------------
 .../localizer/TestLocalCacheDirectoryManager.java              | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/4a8e3045/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/localizer/TestLocalCacheDirectoryManager.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/localizer/TestLocalCacheDirectoryManager.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/localizer/TestLocalCacheDirectoryManager.java
index df00f9e..82d9a94 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/localizer/TestLocalCacheDirectoryManager.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/localizer/TestLocalCacheDirectoryManager.java
@@ -33,7 +33,7 @@ import org.junit.Test;
 
 public class TestLocalCacheDirectoryManager {
 
-  @Test(timeout = 10000)
+  @Test
   public void testHierarchicalSubDirectoryCreation() {
     // setting per directory file limit to 1.
     YarnConfiguration conf = new YarnConfiguration();
@@ -73,7 +73,7 @@ public class TestLocalCacheDirectoryManager {
     Assert.assertEquals(testPath2, hDir.getRelativePathForLocalization());
   }
 
-  @Test(timeout = 10000)
+  @Test
   public void testMinimumPerDirectoryFileLimit() {
     YarnConfiguration conf = new YarnConfiguration();
     conf.set(YarnConfiguration.NM_LOCAL_CACHE_MAX_FILES_PER_DIRECTORY, "1");
@@ -98,7 +98,7 @@ public class TestLocalCacheDirectoryManager {
 
   }
 
-  @Test(timeout = 1000)
+  @Test
   public void testDirectoryStateChangeFromFullToNonFull() {
     YarnConfiguration conf = new YarnConfiguration();
     conf.set(YarnConfiguration.NM_LOCAL_CACHE_MAX_FILES_PER_DIRECTORY, "40");


---------------------------------------------------------------------
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