Skip to content

Commit

Permalink
Fixed content test
Browse files Browse the repository at this point in the history
  • Loading branch information
gregw committed Apr 5, 2022
1 parent a190770 commit 43c52f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -279,7 +279,7 @@ public void testInputStreamFailed() throws Exception
public void testFields() throws Exception
{
FutureFormFields future = new FutureFormFields(_provider);

future.run();
Runnable todo = _provider.takeDemand();
assertNotNull(todo);
_provider.add("one=1", false);
Expand Down
Expand Up @@ -477,7 +477,7 @@ protected void writeErrorHtmlBody(Request request, Writer writer, int code, Stri
HttpFields fields = HttpFields.build().add(HttpHeader.HOST, "localhost").asImmutable();
MetaData.Request request = new MetaData.Request("GET", HttpURI.from("http://localhost/ctx/"), HttpVersion.HTTP_1_1, fields, 0);
Runnable task = channel.onRequest(request);
try (StacklessLogging ignored = new StacklessLogging(ContextRequest.class))
try (StacklessLogging ignored = new StacklessLogging(Response.class))
{
task.run();
}
Expand Down

0 comments on commit 43c52f6

Please sign in to comment.