Ver Fonte

HDFS-4008. TestBalancerWithEncryptedTransfer needs a timeout. Contributed by Eli Collins

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1395700 13f79535-47bb-0310-9956-ffa450edef68
Eli Collins há 12 anos atrás
pai
commit
3a4cf1c064

+ 2 - 0
hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

@@ -265,6 +265,8 @@ Release 2.0.3-alpha - Unreleased
     HDFS-3682. MiniDFSCluster#init should provide more info when it fails.
     (todd via eli)
 
+    HDFS-4008. TestBalancerWithEncryptedTransfer needs a timeout. (eli)
+
   OPTIMIZATIONS
 
   BUG FIXES

+ 3 - 3
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/balancer/TestBalancerWithEncryptedTransfer.java

@@ -33,17 +33,17 @@ public class TestBalancerWithEncryptedTransfer {
     conf.setBoolean(DFSConfigKeys.DFS_BLOCK_ACCESS_TOKEN_ENABLE_KEY, true);
   }
   
-  @Test
+  @Test(timeout=60000)
   public void testEncryptedBalancer0() throws Exception {
     new TestBalancer().testBalancer0Internal(conf);
   }
   
-  @Test
+  @Test(timeout=60000)
   public void testEncryptedBalancer1() throws Exception {
     new TestBalancer().testBalancer1Internal(conf);
   }
   
-  @Test
+  @Test(timeout=60000)
   public void testEncryptedBalancer2() throws Exception {
     new TestBalancer().testBalancer2Internal(conf);
   }