public class AbstractMemoryLeakWebAppTest
extends org.glassfish.jersey.test.JerseyTest
| Constructor and Description |
|---|
AbstractMemoryLeakWebAppTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureClient(org.glassfish.jersey.client.ClientConfig config) |
protected org.glassfish.jersey.test.DeploymentContext |
configureDeployment() |
void |
verifyNoOutOfMemoryOccurred()
Verifies no OutOfMemoryError is present in associated log file.
The motivation is to have the OutOfMemory error included in the JUnit test result if possible. The problem is that even of OutOfMemoryError occurred, it may not be logged yet. |
client, close, closeIfNotNull, configure, disable, enable, forceDisable, forceEnable, forceSet, getAsyncTimeoutMultiplier, getBaseUri, getClient, getLastLoggedRecord, getLoggedRecords, getPort, getSslContext, getSslParameters, getTestContainerFactory, isEnabled, set, set, setClient, setUp, target, target, tearDown@AfterEach
public void verifyNoOutOfMemoryOccurred()
throws IOException
IOExceptionprotected org.glassfish.jersey.test.DeploymentContext configureDeployment()
configureDeployment in class org.glassfish.jersey.test.JerseyTestprotected void configureClient(org.glassfish.jersey.client.ClientConfig config)
configureClient in class org.glassfish.jersey.test.JerseyTestCopyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.