From e742ba6787d751de0e58bbd919c425283f9e2bd4 Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Tue, 8 Oct 2019 17:58:46 +0100 Subject: [PATCH] HADOOP-16642. ITestDynamoDBMetadataStoreScale fails when throttled. Change-Id: I1bbb4692c7fe345a0e5c3d3660eeb644ca9ced2d --- .../fs/s3a/s3guard/ITestDynamoDBMetadataStoreScale.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/s3guard/ITestDynamoDBMetadataStoreScale.java b/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/s3guard/ITestDynamoDBMetadataStoreScale.java index a0614d5a05fc1..9614838c2b61d 100644 --- a/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/s3guard/ITestDynamoDBMetadataStoreScale.java +++ b/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/s3guard/ITestDynamoDBMetadataStoreScale.java @@ -210,11 +210,9 @@ public void test_020_Moves() throws Throwable { // if this doesn't throttle, all is well. super.test_020_Moves(); } catch (AWSServiceThrottledException ex) { - // if the service was throttled, we expect the exception text - GenericTestUtils.assertExceptionContains( - DynamoDBMetadataStore.HINT_DDB_IOPS_TOO_LOW, - ex, - "Expected throttling message"); + // if the service was throttled, all is good. + // log and continue + LOG.warn("DDB connection was throttled", ex); } finally { LOG.info("Statistics {}", tracker); }