HBASE-20014 TestAdmin1 Times out
This commit is contained in:
parent
34d5f2b70e
commit
8be0696320
|
@ -61,7 +61,7 @@ public final class HBaseClassTestRule implements TestRule {
|
||||||
for (Class<?> c : categories[0].value()) {
|
for (Class<?> c : categories[0].value()) {
|
||||||
if (c == SmallTests.class || c == MediumTests.class || c == LargeTests.class) {
|
if (c == SmallTests.class || c == MediumTests.class || c == LargeTests.class) {
|
||||||
// All tests have a 10minute timeout.
|
// All tests have a 10minute timeout.
|
||||||
return TimeUnit.MINUTES.toSeconds(10);
|
return TimeUnit.MINUTES.toSeconds(13);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
throw new IllegalArgumentException(
|
throw new IllegalArgumentException(
|
||||||
|
|
|
@ -1000,7 +1000,7 @@ is that of the local test; i.e. in the TestTimeout Test Class, you'd
|
||||||
pass `TestTimeout.class` to the `CLASS_RULE` instead of the
|
pass `TestTimeout.class` to the `CLASS_RULE` instead of the
|
||||||
`TestHRegionInfo.class` we have above. The `CLASS_RULE`
|
`TestHRegionInfo.class` we have above. The `CLASS_RULE`
|
||||||
is where we'll enforce timeouts (currently set at a hard-limit of
|
is where we'll enforce timeouts (currently set at a hard-limit of
|
||||||
ten minutes for all tests) and other cross-unit test facility.
|
thirteen! minutes for all tests -- 780 seconds) and other cross-unit test facility.
|
||||||
The test is in the `SmallTest` Category.
|
The test is in the `SmallTest` Category.
|
||||||
|
|
||||||
Categories can be arbitrary and provided as a list but each test MUST
|
Categories can be arbitrary and provided as a list but each test MUST
|
||||||
|
|
Loading…
Reference in New Issue