소스 검색

HADOOP-16642. ITestDynamoDBMetadataStoreScale fails when throttled.

Contributed by Steve Loughran.

Change-Id: If9b4ebe937200c17d7fdfb9923e6ae0ab4c541ef
Steve Loughran 5 년 전
부모
커밋
52cc20e9ea
1개의 변경된 파일3개의 추가작업 그리고 5개의 파일을 삭제
  1. 3 5
      hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/s3guard/ITestDynamoDBMetadataStoreScale.java

+ 3 - 5
hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/s3guard/ITestDynamoDBMetadataStoreScale.java

@@ -210,11 +210,9 @@ public class ITestDynamoDBMetadataStoreScale
       // 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);
     }