HADOOP-16642. ITestDynamoDBMetadataStoreScale fails when throttled.
Contributed by Steve Loughran. Change-Id: If9b4ebe937200c17d7fdfb9923e6ae0ab4c541ef
This commit is contained in:
parent
17aa8f6764
commit
52cc20e9ea
@ -210,11 +210,9 @@ public void test_020_Moves() throws Throwable {
|
|||||||
// if this doesn't throttle, all is well.
|
// if this doesn't throttle, all is well.
|
||||||
super.test_020_Moves();
|
super.test_020_Moves();
|
||||||
} catch (AWSServiceThrottledException ex) {
|
} catch (AWSServiceThrottledException ex) {
|
||||||
// if the service was throttled, we expect the exception text
|
// if the service was throttled, all is good.
|
||||||
GenericTestUtils.assertExceptionContains(
|
// log and continue
|
||||||
DynamoDBMetadataStore.HINT_DDB_IOPS_TOO_LOW,
|
LOG.warn("DDB connection was throttled", ex);
|
||||||
ex,
|
|
||||||
"Expected throttling message");
|
|
||||||
} finally {
|
} finally {
|
||||||
LOG.info("Statistics {}", tracker);
|
LOG.info("Statistics {}", tracker);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user