[logback-dev] [qos-ch/logback] ba4e62: updated tests to validate that context's executor ...

Carl Harris ceharris at vt.edu
Thu Apr 4 20:08:28 CEST 2013


  Branch: refs/heads/useContextExecutorService
  Home:   https://github.com/qos-ch/logback
  Commit: ba4e620add7848b0ca775607aac143814cc0dbdf
      https://github.com/qos-ch/logback/commit/ba4e620add7848b0ca775607aac143814cc0dbdf
  Author: Carl Harris <ceharris at vt.edu>
  Date:   2013-04-04 (Thu, 04 Apr 2013)

  Changed paths:
    M logback-classic/src/test/java/ch/qos/logback/classic/net/server/InstrumentedSocketServer.java
    A logback-classic/src/test/java/ch/qos/logback/classic/net/server/MockExecutorService.java
    R logback-classic/src/test/java/ch/qos/logback/classic/net/server/MockThreadPoolFactoryBean.java
    M logback-classic/src/test/java/ch/qos/logback/classic/net/server/SocketServerTest.java

  Log Message:
  -----------
  updated tests to validate that context's executor is not shut down

n ServerSocket.stop, we must not shut down the executor
service if it belongs to the context.  We only shut down an
executor that we created specifically for the server.





More information about the logback-dev mailing list