We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00a105a commit 37f33fbCopy full SHA for 37f33fb
tests/Elasticsearch/Tests/Utility.php
@@ -397,7 +397,7 @@ private static function wipeDataStreams(Client $client): void
397
} catch (Exception $e) {
398
// We hit a version of ES that doesn't serialize DeleteDataStreamAction.Request#wildcardExpressionsOriginallySpecified
399
// field or that doesn't support data streams so it's safe to ignore
400
- if ($e->getCode() !== '404' && $e->getCode() !== '405') {
+ if (!in_array($e->getCode(), ['404', '405', '500'])) {
401
throw $e;
402
}
403
0 commit comments