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
This commit is contained in:
Eli Collins 2012-10-08 18:11:53 +00:00
parent 5a5473b29f
commit 3a4cf1c064
2 changed files with 5 additions and 3 deletions

View File

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

View File

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