public class InstanceMetadataServiceResourceFetcherTest extends Object
| Modifier and Type | Field and Description |
|---|---|
static WireMockRule |
mockServer |
| Constructor and Description |
|---|
InstanceMetadataServiceResourceFetcherTest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cleanUp() |
void |
metadata401_shouldThrowException() |
void |
metadata500_shouldThrowException() |
void |
metadataDisabled_shouldThrowException() |
void |
metadataNonRetryableError_shouldThrowException() |
void |
methodSetup() |
static void |
setup() |
void |
token200_shouldSendToken() |
void |
token400_shouldThrowException() |
void |
token403_shouldFallbackInsecureWorkflow() |
void |
token403_v1FallbackDisabled_shouldThrowException() |
void |
token404_shouldFallbackInsecureWorkflow() |
void |
token404_v1FallbackDisabled_shouldThrowException() |
void |
token503_shouldThrowException() |
void |
tokenNonRetryableError_shouldFallbackInsecureWorkflow() |
void |
tokenNonRetryableError_v1FallbackDisabled_shouldThrowException() |
void |
tokenOtherIOException_shouldThrowException() |
void |
tokenTimeoutException_shouldFallbackInsecureWorkflow() |
void |
tokenTimeoutException_v1FallbackDisabled_shouldThrowException() |
public InstanceMetadataServiceResourceFetcherTest()
public static void setup()
throws URISyntaxException
URISyntaxExceptionpublic void methodSetup()
public static void cleanUp()
public void metadataDisabled_shouldThrowException()
public void token200_shouldSendToken()
public void token404_shouldFallbackInsecureWorkflow()
public void tokenNonRetryableError_shouldFallbackInsecureWorkflow()
public void token400_shouldThrowException()
public void token503_shouldThrowException()
public void token403_shouldFallbackInsecureWorkflow()
public void tokenTimeoutException_shouldFallbackInsecureWorkflow()
throws IOException
IOExceptionpublic void tokenOtherIOException_shouldThrowException()
throws IOException
IOExceptionpublic void token404_v1FallbackDisabled_shouldThrowException()
throws IOException
IOExceptionpublic void tokenNonRetryableError_v1FallbackDisabled_shouldThrowException()
public void token403_v1FallbackDisabled_shouldThrowException()
public void tokenTimeoutException_v1FallbackDisabled_shouldThrowException()
throws IOException
IOExceptionpublic void metadataNonRetryableError_shouldThrowException()
public void metadata500_shouldThrowException()
public void metadata401_shouldThrowException()
throws IOException
IOExceptionCopyright © 2024. All rights reserved.