hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject svn commit: r1144693 - /hbase/trunk/src/test/java/org/apache/hadoop/hbase/client/TestScannerTimeout.java
Date Sat, 09 Jul 2011 16:13:02 GMT
Author: tedyu
Date: Sat Jul  9 16:13:02 2011
New Revision: 1144693

URL: http://svn.apache.org/viewvc?rev=1144693&view=rev
Log:
Added timeout for tests in TestScannerTimeout

Modified:
    hbase/trunk/src/test/java/org/apache/hadoop/hbase/client/TestScannerTimeout.java

Modified: hbase/trunk/src/test/java/org/apache/hadoop/hbase/client/TestScannerTimeout.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/test/java/org/apache/hadoop/hbase/client/TestScannerTimeout.java?rev=1144693&r1=1144692&r2=1144693&view=diff
==============================================================================
--- hbase/trunk/src/test/java/org/apache/hadoop/hbase/client/TestScannerTimeout.java (original)
+++ hbase/trunk/src/test/java/org/apache/hadoop/hbase/client/TestScannerTimeout.java Sat Jul
 9 16:13:02 2011
@@ -88,7 +88,7 @@ public class TestScannerTimeout {
    * Test that we do get a ScannerTimeoutException
    * @throws Exception
    */
-  @Test
+  @Test(timeout=300000)
   public void test2481() throws Exception {
     LOG.info("START ************ test2481");
     Scan scan = new Scan();
@@ -119,7 +119,7 @@ public class TestScannerTimeout {
    * from failed. Before 2772, it reused the same scanner id.
    * @throws Exception
    */
-  @Test
+  @Test(timeout=300000)
   public void test2772() throws Exception {
     LOG.info("START************ test2772");
     HRegionServer rs = TEST_UTIL.getRSForFirstRegionInTable(TABLE_NAME);
@@ -147,7 +147,7 @@ public class TestScannerTimeout {
    * from failed. Before 3686, it would skip rows in the scan.
    * @throws Exception
    */
-  @Test
+  @Test(timeout=300000)
   public void test3686a() throws Exception {
     LOG.info("START ************ TEST3686A---1");
     HRegionServer rs = TEST_UTIL.getRSForFirstRegionInTable(TABLE_NAME);
@@ -183,7 +183,7 @@ public class TestScannerTimeout {
    * client.
    * @throws Exception
    */
-  @Test
+  @Test(timeout=300000)
   public void test3686b() throws Exception {
     LOG.info("START ************ test3686b");
     HRegionServer rs = TEST_UTIL.getRSForFirstRegionInTable(TABLE_NAME);
@@ -210,4 +210,4 @@ public class TestScannerTimeout {
     LOG.info("END ************ END test3686b");
 
   }
-}
\ No newline at end of file
+}



Mime
View raw message