@After
  public void teardown() throws Exception {
    this.selector.close();
    this.server.close();
  }
A set of tests for the selector. These use a test harness that runs a simple socket server that echos back responses.
ambry-network/src/test/java/com/github/ambry/network/SelectorTest.java