diff --git a/tests/RetryMiddlewareTest.php b/tests/RetryMiddlewareTest.php index 9f88d2da53..92935d7cbb 100644 --- a/tests/RetryMiddlewareTest.php +++ b/tests/RetryMiddlewareTest.php @@ -184,7 +184,9 @@ public function awsErrorCodeProvider() [new AwsException('e', $command, ['code' => 'ThrottlingException'])], [new AwsException('e', $command, ['code' => 'ProvisionedThroughputExceededException'])], [new AwsException('e', $command, ['code' => 'RequestThrottled'])], - [new AwsException('e', $command, ['code' => 'BandwidthLimitExceeded'])] + [new AwsException('e', $command, ['code' => 'BandwidthLimitExceeded'])], + [new AwsException('e', $command, ['code' => 'RequestThrottledException'])], + [new AwsException('e', $command, ['code' => 'TooManyRequestsException'])] ]; } /**