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

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1395701 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eli Collins 2012-10-08 18:12:29 +00:00
parent 99e7354cd5
commit 2a2fec7128
2 changed files with 5 additions and 3 deletions

View File

@ -40,6 +40,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

View File

@ -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);
}