Skip to content

Commit

Permalink
Cleans up consumer custom header submission test.
Browse files Browse the repository at this point in the history
  • Loading branch information
dehora committed Mar 22, 2017
1 parent b793e69 commit 144eb9b
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,11 @@ public void customHeadersWithEventStream() throws Exception {
.build();

processor.start();

Thread.sleep(1000L);

processor.stop();

RecordedRequest request = server.takeRequest();
TestCase.assertEquals("gzip", request.getHeaders().get("Accept-Encoding"));


System.out.println(request.getHeaders().names());

}

@Test
Expand Down Expand Up @@ -120,9 +114,7 @@ public void customHeadersWithSubscriptionStream() throws Exception {
.build();

processor.start();

Thread.sleep(1000L);

processor.stop();

RecordedRequest request = server.takeRequest();
Expand Down

0 comments on commit 144eb9b

Please sign in to comment.