implement dummy shutdown method on ContextHandler
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
parent
23dcefcd47
commit
af8e89c1b1
|
@ -436,7 +436,9 @@ public class ContextHandler extends Handler.Wrapper implements Attributes, Grace
|
|||
public CompletableFuture<Void> shutdown()
|
||||
{
|
||||
// TODO
|
||||
return null;
|
||||
CompletableFuture<Void> completableFuture = new CompletableFuture<>();
|
||||
completableFuture.complete(null);
|
||||
return completableFuture;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -25,7 +25,6 @@ import org.eclipse.jetty.server.Server;
|
|||
import org.eclipse.jetty.server.ServerConnector;
|
||||
import org.junit.jupiter.api.AfterEach;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import static org.hamcrest.MatcherAssert.assertThat;
|
||||
|
@ -33,7 +32,6 @@ import static org.hamcrest.Matchers.is;
|
|||
import static org.junit.jupiter.api.Assertions.assertNull;
|
||||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
|
||||
@Disabled
|
||||
public class GracefulCloseTest
|
||||
{
|
||||
private final EventSocket serverEndpoint = new EchoSocket();
|
||||
|
|
Loading…
Reference in New Issue