HBASE-22295 Fix TestClientOperationTimeout
Signed-off-by: Michael Stack <stack@apache.org>
This commit is contained in:
parent
47cb6295fa
commit
127bef4d10
|
@ -120,7 +120,7 @@ public class TestClientOperationTimeout {
|
|||
* Tests that a get on a table throws {@link SocketTimeoutException} when the operation takes
|
||||
* longer than 'hbase.client.operation.timeout'.
|
||||
*/
|
||||
@Test(expected = SocketTimeoutException.class)
|
||||
@Test(expected = RetriesExhaustedException.class)
|
||||
public void testGetTimeout() throws Exception {
|
||||
DELAY_GET = 600;
|
||||
TABLE.get(new Get(ROW));
|
||||
|
@ -130,7 +130,7 @@ public class TestClientOperationTimeout {
|
|||
* Tests that a put on a table throws {@link SocketTimeoutException} when the operation takes
|
||||
* longer than 'hbase.client.operation.timeout'.
|
||||
*/
|
||||
@Test(expected = SocketTimeoutException.class)
|
||||
@Test(expected = RetriesExhaustedException.class)
|
||||
public void testPutTimeout() throws Exception {
|
||||
DELAY_MUTATE = 600;
|
||||
|
||||
|
|
Loading…
Reference in New Issue