Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HttpAcceptorIT.shouldEchoHttpPostBodyinHttpResponseBody unexpected invocation: ioHandler.exceptionCaught #852

Open
sbadugu opened this issue Jan 13, 2017 · 0 comments
Labels
triage Needs to be triaged

Comments

@sbadugu
Copy link
Contributor

sbadugu commented Jan 13, 2017

Steps to reproduce the problem

Travis Gateway build failure

Expected behavior

Build should pass

Actual behavior

Failed tests: 

  HttpAcceptorIT.shouldEchoHttpPostBodyinHttpResponseBody unexpected invocation: ioHandler.exceptionCaught(<(#00000002: kzg http, server, http://localhost:8000/path => http://localhost:8000/path)>, <java.io.IOException: Early termination of IO session>)
expectations:
  expected once, already invoked 1 time: ioHandler.sessionCreated(an instance of org.apache.mina.core.session.IoSession)
  expected once, already invoked 1 time: ioHandler.sessionOpened((has method <POST> and has "Content-Type" read header "text/plain;charset=UTF-8")); perform $0.setWriteHeader("Content-Type", "text/plain;charset=UTF-8")
  expected once, already invoked 1 time: ioHandler.messageReceived(an instance of org.kaazing.gateway.transport.http.HttpAcceptSession, buffer has 12 remaining bytes); perform $0.suspendWrite();$0.write($1.duplicate()).addListener(writeListener);$0.shutdownWrite();$0.resumeWrite();$0.close(false);return;
  expected never, never invoked: ioHandler.messageSent(an instance of org.apache.mina.core.session.IoSession, buffer has 12 remaining bytes)
  expected once, never invoked: ioFutureListener.operationComplete(an instance of org.apache.mina.core.future.IoFuture)
  expected once, never invoked: ioHandler.sessionClosed(an instance of org.apache.mina.core.session.IoSession)
what happened before this:
  ioHandler.sessionCreated(<(#00000002: kzg http, server, http://localhost:8000/path => http://localhost:8000/path)>)
  ioHandler.sessionOpened(<(#00000002: kzg http, server, http://localhost:8000/path => http://localhost:8000/path)>)


Tests run: 484, Failures: 1, Errors: 0, Skipped: 19

Logs/Wiresharks

log.txt

@sbadugu sbadugu changed the title HttpAcceptorIT.shouldEchoHttpPostBodyinHttpResponseBody HttpAcceptorIT.shouldEchoHttpPostBodyinHttpResponseBody unexpected invocation: ioHandler.exceptionCaught Jan 13, 2017
@robinzimmermann robinzimmermann added the triage Needs to be triaged label Apr 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Needs to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants