Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
org.opensearch.repositories.s3.S3BlobStoreRepositoryTests.testRequest…
…Stats fails with NullPointerException (opensearch-project#13814) It's a NullPointerException from S3BlobStore.extendedStats() method, where 'genericStatsMetricPublisher' is null. This parameter sets through S3Repository constructor from test and in this test it sets as null. This is the root cause of the issue. If we set valid a GenericStatsMetricPublisher, test works fine without any issue. This was a consistent failure, not a random failure. Resolves opensearch-project#10735 Signed-off-by: akolarkunnu <abdul.kolarkunnu@netapp.com> Co-authored-by: akolarkunnu <abdul.kolarkunnu@netapp.com>
- Loading branch information