Added timeout for tests in TestScannerTimeout

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1144693 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Zhihong Yu 2011-07-09 16:13:02 +00:00
parent e17252a111
commit 0a99255ae1
1 changed files with 5 additions and 5 deletions

View File

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