Class OpenSearchMockAPIBasedRepositoryIntegTestCase.ErroneousHttpHandler

java.lang.Object
org.opensearch.repositories.blobstore.OpenSearchMockAPIBasedRepositoryIntegTestCase.ErroneousHttpHandler
All Implemented Interfaces:
HttpHandler, OpenSearchMockAPIBasedRepositoryIntegTestCase.DelegatingHttpHandler
Enclosing class:
OpenSearchMockAPIBasedRepositoryIntegTestCase

protected abstract static class OpenSearchMockAPIBasedRepositoryIntegTestCase.ErroneousHttpHandler extends Object implements OpenSearchMockAPIBasedRepositoryIntegTestCase.DelegatingHttpHandler
HTTP handler that injects random service errors

Note: it is not a good idea to allow this handler to simulate too many errors as it would slow down the test suite.