hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject svn commit: r1467157 - in /hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase: ./ client/ constraint/ errorhandling/ ipc/ master/ master/cleaner/ master/handler/ procedure/ regionserver/ snapshot/ thrift/ util/
Date Fri, 12 Apr 2013 02:14:37 GMT
Author: apurtell
Date: Fri Apr 12 02:14:36 2013
New Revision: 1467157

URL: http://svn.apache.org/r1467157
Log:
HBASE-8303. Increase the test timeout to 60s when they are less than 20s

Modified:
    hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/TestZooKeeper.java
    hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/client/TestSnapshotFromAdmin.java
    hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/client/TestSnapshotsFromAdmin.java
    hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/constraint/TestConstraint.java
    hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/errorhandling/TestTimeoutExceptionInjector.java
    hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/ipc/TestPBOnWritableRpc.java
    hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/master/TestAssignmentManager.java
    hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/master/cleaner/TestSnapshotFromMaster.java
    hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/master/handler/TestCreateTableHandler.java
    hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/procedure/TestProcedure.java
    hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/procedure/TestProcedureCoordinator.java
    hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/procedure/TestProcedureMember.java
    hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/procedure/TestZKProcedureControllers.java
    hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.java
    hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/snapshot/TestFlushSnapshotFromClient.java
    hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/thrift/TestCallQueue.java
    hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/util/TestThreads.java

Modified: hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/TestZooKeeper.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/TestZooKeeper.java?rev=1467157&r1=1467156&r2=1467157&view=diff
==============================================================================
--- hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/TestZooKeeper.java (original)
+++ hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/TestZooKeeper.java Fri Apr 12
02:14:36 2013
@@ -367,7 +367,7 @@ public class TestZooKeeper {
    *  test differs from {@link #testMasterSessionExpired} because here
    *  the master znode will exist in ZK.
    */
-  @Test(timeout=20000)
+  @Test(timeout=60000)
   public void testMasterZKSessionRecoveryFailure() throws Exception {
     MiniHBaseCluster cluster = TEST_UTIL.getHBaseCluster();
     HMaster m = cluster.getMaster();

Modified: hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/client/TestSnapshotFromAdmin.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/client/TestSnapshotFromAdmin.java?rev=1467157&r1=1467156&r2=1467157&view=diff
==============================================================================
--- hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/client/TestSnapshotFromAdmin.java
(original)
+++ hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/client/TestSnapshotFromAdmin.java
Fri Apr 12 02:14:36 2013
@@ -50,7 +50,7 @@ public class TestSnapshotFromAdmin {
    * passed from the server ensures the correct overall waiting for the snapshot to finish.
    * @throws Exception
    */
-  @Test(timeout = 10000)
+  @Test(timeout = 60000)
   public void testBackoffLogic() throws Exception {
     final int maxWaitTime = 7500;
     final int numRetries = 10;

Modified: hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/client/TestSnapshotsFromAdmin.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/client/TestSnapshotsFromAdmin.java?rev=1467157&r1=1467156&r2=1467157&view=diff
==============================================================================
--- hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/client/TestSnapshotsFromAdmin.java
(original)
+++ hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/client/TestSnapshotsFromAdmin.java
Fri Apr 12 02:14:36 2013
@@ -50,7 +50,7 @@ public class TestSnapshotsFromAdmin {
    * passed from the server ensures the correct overall waiting for the snapshot to finish.
    * @throws Exception
    */
-  @Test(timeout = 10000)
+  @Test(timeout = 60000)
   public void testBackoffLogic() throws Exception {
     final int maxWaitTime = 7500;
     final int numRetries = 10;

Modified: hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/constraint/TestConstraint.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/constraint/TestConstraint.java?rev=1467157&r1=1467156&r2=1467157&view=diff
==============================================================================
--- hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/constraint/TestConstraint.java
(original)
+++ hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/constraint/TestConstraint.java
Fri Apr 12 02:14:36 2013
@@ -94,7 +94,7 @@ public class TestConstraint {
    * @throws Exception
    */
   @SuppressWarnings("unchecked")
-  @Test(timeout = 10000)
+  @Test(timeout = 60000)
   public void testConstraintFails() throws Exception {
 
     // create the table

Modified: hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/errorhandling/TestTimeoutExceptionInjector.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/errorhandling/TestTimeoutExceptionInjector.java?rev=1467157&r1=1467156&r2=1467157&view=diff
==============================================================================
--- hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/errorhandling/TestTimeoutExceptionInjector.java
(original)
+++ hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/errorhandling/TestTimeoutExceptionInjector.java
Fri Apr 12 02:14:36 2013
@@ -37,7 +37,7 @@ public class TestTimeoutExceptionInjecto
   /**
    * Test that a manually triggered timer fires an exception.
    */
-  @Test(timeout = 1000)
+  @Test(timeout = 60000)
   public void testTimerTrigger() {
     final long time = 10000000; // pick a value that is very far in the future
     ForeignExceptionListener listener = Mockito.mock(ForeignExceptionListener.class);
@@ -64,7 +64,7 @@ public class TestTimeoutExceptionInjecto
    * Demonstrate TimeoutExceptionInjector semantics -- completion means no more exceptions
passed to
    * error listener.
    */
-  @Test(timeout = 1000)
+  @Test(timeout = 60000)
   public void testStartAfterComplete() throws InterruptedException {
     final long time = 10;
     ForeignExceptionListener listener = Mockito.mock(ForeignExceptionListener.class);
@@ -84,7 +84,7 @@ public class TestTimeoutExceptionInjecto
    * Demonstrate TimeoutExceptionInjector semantics -- triggering fires exception and completes
    * the timer.
    */
-  @Test(timeout = 1000)
+  @Test(timeout = 60000)
   public void testStartAfterTrigger() throws InterruptedException {
     final long time = 10;
     ForeignExceptionListener listener = Mockito.mock(ForeignExceptionListener.class);

Modified: hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/ipc/TestPBOnWritableRpc.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/ipc/TestPBOnWritableRpc.java?rev=1467157&r1=1467156&r2=1467157&view=diff
==============================================================================
--- hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/ipc/TestPBOnWritableRpc.java
(original)
+++ hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/ipc/TestPBOnWritableRpc.java
Fri Apr 12 02:14:36 2013
@@ -74,7 +74,7 @@ public class TestPBOnWritableRpc {
     }
   }
 
-  @Test(timeout=10000)
+  @Test(timeout=60000)
   public void testCalls() throws Exception {
     testCallsInternal(conf);
   }

Modified: hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/master/TestAssignmentManager.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/master/TestAssignmentManager.java?rev=1467157&r1=1467156&r2=1467157&view=diff
==============================================================================
--- hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/master/TestAssignmentManager.java
(original)
+++ hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/master/TestAssignmentManager.java
Fri Apr 12 02:14:36 2013
@@ -167,7 +167,7 @@ public class TestAssignmentManager {
    * @throws KeeperException
    * @throws InterruptedException
    */
-  @Test(timeout = 5000)
+  @Test(timeout = 60000)
   public void testBalanceOnMasterFailoverScenarioWithOpenedNode()
       throws IOException, KeeperException, InterruptedException {
     AssignmentManagerWithExtrasForTesting am =
@@ -214,7 +214,7 @@ public class TestAssignmentManager {
     }
   }
 
-  @Test(timeout = 5000)
+  @Test(timeout = 60000)
   public void testBalanceOnMasterFailoverScenarioWithClosedNode()
       throws IOException, KeeperException, InterruptedException {
     AssignmentManagerWithExtrasForTesting am =
@@ -262,7 +262,7 @@ public class TestAssignmentManager {
     }
   }
 
-  @Test(timeout = 5000)
+  @Test(timeout = 60000)
   public void testBalanceOnMasterFailoverScenarioWithOfflineNode()
       throws IOException, KeeperException, InterruptedException {
     AssignmentManagerWithExtrasForTesting am =
@@ -327,7 +327,7 @@ public class TestAssignmentManager {
    * @throws KeeperException
    * @throws InterruptedException
    */
-  @Test(timeout = 10000)
+  @Test(timeout = 60000)
   public void testBalance()
   throws IOException, KeeperException, InterruptedException {
     // Create and startup an executor.  This is used by AssignmentManager
@@ -724,7 +724,7 @@ public class TestAssignmentManager {
    * situation
    * @throws ServiceException
    */
-  @Test(timeout = 5000)
+  @Test(timeout = 60000)
   public void testProcessDeadServersAndRegionsInTransitionShouldNotFailWithNPE()
       throws IOException, KeeperException, InterruptedException, ServiceException {
     final RecoverableZooKeeper recoverableZk = Mockito

Modified: hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/master/cleaner/TestSnapshotFromMaster.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/master/cleaner/TestSnapshotFromMaster.java?rev=1467157&r1=1467156&r2=1467157&view=diff
==============================================================================
--- hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/master/cleaner/TestSnapshotFromMaster.java
(original)
+++ hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/master/cleaner/TestSnapshotFromMaster.java
Fri Apr 12 02:14:36 2013
@@ -168,7 +168,7 @@ public class TestSnapshotFromMaster {
    * <li>If asking about a snapshot has hasn't occurred, you should get an error.</li>
    * </ol>
    */
-  @Test(timeout = 15000)
+  @Test(timeout = 60000)
   public void testIsDoneContract() throws Exception {
 
     String snapshotName = "asyncExpectedFailureTest";

Modified: hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/master/handler/TestCreateTableHandler.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/master/handler/TestCreateTableHandler.java?rev=1467157&r1=1467156&r2=1467157&view=diff
==============================================================================
--- hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/master/handler/TestCreateTableHandler.java
(original)
+++ hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/master/handler/TestCreateTableHandler.java
Fri Apr 12 02:14:36 2013
@@ -99,7 +99,7 @@ public class TestCreateTableHandler {
 
   }
   
-  @Test (timeout=10000)
+  @Test (timeout=60000)
   public void testMasterRestartAfterEnablingNodeIsCreated() throws Exception {
     byte[] tableName = Bytes.toBytes("testMasterRestartAfterEnablingNodeIsCreated");
     final MiniHBaseCluster cluster = TEST_UTIL.getHBaseCluster();

Modified: hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/procedure/TestProcedure.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/procedure/TestProcedure.java?rev=1467157&r1=1467156&r2=1467157&view=diff
==============================================================================
--- hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/procedure/TestProcedure.java
(original)
+++ hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/procedure/TestProcedure.java
Fri Apr 12 02:14:36 2013
@@ -82,7 +82,7 @@ public class TestProcedure {
    * With a single member, verify ordered execution.  The Coordinator side is run in a separate
    * thread so we can only trigger from members and wait for particular state latches.
    */
-  @Test(timeout = 1000)
+  @Test(timeout = 60000)
   public void testSingleMember() throws Exception {
     // The member
     List<String> members =  new ArrayList<String>();
@@ -126,7 +126,7 @@ public class TestProcedure {
     verify(procspy, never()).receive(any(ForeignException.class));
   }
 
-  @Test(timeout=1000)
+  @Test(timeout=60000)
   public void testMultipleMember() throws Exception {
     // 2 members
     List<String> members =  new ArrayList<String>();
@@ -178,7 +178,7 @@ public class TestProcedure {
     verify(procspy, never()).receive(any(ForeignException.class));
   }
 
-  @Test(timeout = 1000)
+  @Test(timeout = 60000)
   public void testErrorPropagation() throws Exception {
     List<String> members =  new ArrayList<String>();
     members.add("member");
@@ -203,7 +203,7 @@ public class TestProcedure {
     verify(procspy).sendGlobalBarrierComplete();
   }
 
-  @Test(timeout = 1000)
+  @Test(timeout = 60000)
   public void testBarrieredErrorPropagation() throws Exception {
     List<String> members =  new ArrayList<String>();
     members.add("member");

Modified: hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/procedure/TestProcedureCoordinator.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/procedure/TestProcedureCoordinator.java?rev=1467157&r1=1467156&r2=1467157&view=diff
==============================================================================
--- hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/procedure/TestProcedureCoordinator.java
(original)
+++ hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/procedure/TestProcedureCoordinator.java
Fri Apr 12 02:14:36 2013
@@ -116,7 +116,7 @@ public class TestProcedureCoordinator {
   /**
    * Check handling a connection failure correctly if we get it during the acquiring phase
    */
-  @Test(timeout = 5000)
+  @Test(timeout = 60000)
   public void testUnreachableControllerDuringPrepare() throws Exception {
     coordinator = buildNewCoordinator();
     // setup the proc
@@ -147,7 +147,7 @@ public class TestProcedureCoordinator {
   /**
    * Check handling a connection failure correctly if we get it during the barrier phase
    */
-  @Test(timeout = 5000)
+  @Test(timeout = 60000)
   public void testUnreachableControllerDuringCommit() throws Exception {
     coordinator = buildNewCoordinator();
 
@@ -177,17 +177,17 @@ public class TestProcedureCoordinator {
         anyListOf(String.class));
   }
 
-  @Test(timeout = 1000)
+  @Test(timeout = 60000)
   public void testNoCohort() throws Exception {
     runSimpleProcedure();
   }
 
-  @Test(timeout = 1000)
+  @Test(timeout = 60000)
   public void testSingleCohortOrchestration() throws Exception {
     runSimpleProcedure("one");
   }
 
-  @Test(timeout = 1000)
+  @Test(timeout = 60000)
   public void testMultipleCohortOrchestration() throws Exception {
     runSimpleProcedure("one", "two", "three", "four");
   }
@@ -203,7 +203,7 @@ public class TestProcedureCoordinator {
   /**
    * Test that if nodes join the barrier early we still correctly handle the progress
    */
-  @Test(timeout = 1000)
+  @Test(timeout = 60000)
   public void testEarlyJoiningBarrier() throws Exception {
     final String[] cohort = new String[] { "one", "two", "three", "four" };
     coordinator = buildNewCoordinator();

Modified: hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/procedure/TestProcedureMember.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/procedure/TestProcedureMember.java?rev=1467157&r1=1467156&r2=1467157&view=diff
==============================================================================
--- hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/procedure/TestProcedureMember.java
(original)
+++ hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/procedure/TestProcedureMember.java
Fri Apr 12 02:14:36 2013
@@ -124,7 +124,7 @@ public class TestProcedureMember {
   /**
    * Test the normal sub procedure execution case.
    */
-  @Test(timeout = 500)
+  @Test(timeout = 60000)
   public void testSimpleRun() throws Exception {
     member = buildCohortMember();
     EmptySubprocedure subproc = new EmptySubprocedure(member, mockListener);
@@ -155,7 +155,7 @@ public class TestProcedureMember {
    * Make sure we call cleanup etc, when we have an exception during
    * {@link Subprocedure#acquireBarrier()}.
    */
-  @Test(timeout = 1000)
+  @Test(timeout = 60000)
   public void testMemberPrepareException() throws Exception {
     buildCohortMemberPair();
 
@@ -190,7 +190,7 @@ public class TestProcedureMember {
   /**
    * Make sure we call cleanup etc, when we have an exception during prepare.
    */
-  @Test(timeout = 1000)
+  @Test(timeout = 60000)
   public void testSendMemberAcquiredCommsFailure() throws Exception {
     buildCohortMemberPair();
 
@@ -229,7 +229,7 @@ public class TestProcedureMember {
    * is checked.  Thus, the {@link Subprocedure#prepare} should succeed but later get rolled
back
    * via {@link Subprocedure#cleanup}.
    */
-  @Test(timeout = 1000)
+  @Test(timeout = 60000)
   public void testCoordinatorAbort() throws Exception {
     buildCohortMemberPair();
 
@@ -274,7 +274,7 @@ public class TestProcedureMember {
    * member.  Members are then responsible for reading its TX log.  This implementation actually
    * rolls back, and thus breaks the normal TX guarantees.
   */
-  @Test(timeout = 1000)
+  @Test(timeout = 60000)
   public void testMemberCommitException() throws Exception {
     buildCohortMemberPair();
 
@@ -315,7 +315,7 @@ public class TestProcedureMember {
    * member.  Members are then responsible for reading its TX log.  This implementation actually
    * rolls back, and thus breaks the normal TX guarantees.
   */
-  @Test(timeout = 1000)
+  @Test(timeout = 60000)
   public void testMemberCommitCommsFailure() throws Exception {
     buildCohortMemberPair();
     final TimeoutException oate = new TimeoutException("bogus timeout",1,2,0);

Modified: hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/procedure/TestZKProcedureControllers.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/procedure/TestZKProcedureControllers.java?rev=1467157&r1=1467156&r2=1467157&view=diff
==============================================================================
--- hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/procedure/TestZKProcedureControllers.java
(original)
+++ hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/procedure/TestZKProcedureControllers.java
Fri Apr 12 02:14:36 2013
@@ -74,7 +74,7 @@ public class TestZKProcedureControllers 
    * Smaller test to just test the actuation on the cohort member
    * @throws Exception on failure
    */
-  @Test(timeout = 15000)
+  @Test(timeout = 60000)
   public void testSimpleZKCohortMemberController() throws Exception {
     ZooKeeperWatcher watcher = HBaseTestingUtility.getZooKeeperWatcher(UTIL);
     final String operationName = "instanceTest";
@@ -137,7 +137,7 @@ public class TestZKProcedureControllers 
     assertEquals("Didn't delete commit node", -1, ZKUtil.checkExists(watcher, commit));
   }
 
-  @Test(timeout = 15000)
+  @Test(timeout = 60000)
   public void testZKCoordinatorControllerWithNoCohort() throws Exception {
     final String operationName = "no cohort controller test";
     final byte[] data = new byte[] { 1, 2, 3 };
@@ -146,7 +146,7 @@ public class TestZKProcedureControllers 
     runMockCommitWithOrchestratedControllers(startCohortFirst, operationName, data);
   }
 
-  @Test(timeout = 15000)
+  @Test(timeout = 60000)
   public void testZKCoordinatorControllerWithSingleMemberCohort() throws Exception {
     final String operationName = "single member controller test";
     final byte[] data = new byte[] { 1, 2, 3 };
@@ -155,7 +155,7 @@ public class TestZKProcedureControllers 
     runMockCommitWithOrchestratedControllers(startCohortFirst, operationName, data, "cohort");
   }
 
-  @Test(timeout = 15000)
+  @Test(timeout = 60000)
   public void testZKCoordinatorControllerMultipleCohort() throws Exception {
     final String operationName = "multi member controller test";
     final byte[] data = new byte[] { 1, 2, 3 };

Modified: hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.java?rev=1467157&r1=1467156&r2=1467157&view=diff
==============================================================================
--- hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.java
(original)
+++ hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.java
Fri Apr 12 02:14:36 2013
@@ -744,7 +744,7 @@ public class TestSplitTransactionOnClust
     }
   }
   
-  @Test(timeout = 20000)
+  @Test(timeout = 60000)
   public void testTableExistsIfTheSpecifiedTableRegionIsSplitParent() throws Exception {
     final byte[] tableName = 
         Bytes.toBytes("testTableExistsIfTheSpecifiedTableRegionIsSplitParent");

Modified: hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/snapshot/TestFlushSnapshotFromClient.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/snapshot/TestFlushSnapshotFromClient.java?rev=1467157&r1=1467156&r2=1467157&view=diff
==============================================================================
--- hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/snapshot/TestFlushSnapshotFromClient.java
(original)
+++ hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/snapshot/TestFlushSnapshotFromClient.java
Fri Apr 12 02:14:36 2013
@@ -210,7 +210,7 @@ public class TestFlushSnapshotFromClient
     }
   }
 
-  @Test(timeout = 15000)
+  @Test(timeout = 60000)
   public void testAsyncFlushSnapshot() throws Exception {
     HBaseAdmin admin = UTIL.getHBaseAdmin();
     SnapshotDescription snapshot = SnapshotDescription.newBuilder().setName("asyncSnapshot")

Modified: hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/thrift/TestCallQueue.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/thrift/TestCallQueue.java?rev=1467157&r1=1467156&r2=1467157&view=diff
==============================================================================
--- hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/thrift/TestCallQueue.java (original)
+++ hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/thrift/TestCallQueue.java Fri
Apr 12 02:14:36 2013
@@ -76,7 +76,7 @@ public class TestCallQueue {
               " elementsRemoved:" + elementsRemoved);
   }
 
-  @Test(timeout=3000)
+  @Test(timeout=60000)
   public void testPutTake() throws Exception {
     ThriftMetrics metrics = createMetrics();
     CallQueue callQueue = new CallQueue(
@@ -90,7 +90,7 @@ public class TestCallQueue {
     verifyMetrics(metrics, "timeInQueue_num_ops", elementsRemoved);
   }
 
-  @Test(timeout=3000)
+  @Test(timeout=60000)
   public void testOfferPoll() throws Exception {
     ThriftMetrics metrics = createMetrics();
     CallQueue callQueue = new CallQueue(

Modified: hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/util/TestThreads.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/util/TestThreads.java?rev=1467157&r1=1467156&r2=1467157&view=diff
==============================================================================
--- hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/util/TestThreads.java (original)
+++ hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/util/TestThreads.java Fri Apr
12 02:14:36 2013
@@ -35,7 +35,7 @@ public class TestThreads {
 
   private volatile boolean wasInterrupted;
 
-  @Test(timeout=6000)
+  @Test(timeout=60000)
   public void testSleepWithoutInterrupt() throws InterruptedException {
     Thread sleeper = new Thread(new Runnable() {
       @Override



Mime
View raw message