Skip to content

HttpAcceptorIT.shouldEchoHttpPostBodyinHttpResponseBody unexpected invocation: ioHandler.exceptionCaught #852

@sbadugu

Description

@sbadugu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageNeeds to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions