Permalink
Browse files

fixes UDP test to not call stop twice.

  • Loading branch information...
James Waldrop
James Waldrop committed Dec 27, 2012
1 parent 70cd896 commit 87d324d34917ccc1033b992f5a0cf2e470fff7bd
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/test/scala/com/twitter/parrot/server/ParrotUdpTransportSpec.scala
@@ -120,8 +120,7 @@ class ParrotUdpTransportSpec extends SpecificationWithJUnit {
{ transport.asInstanceOf[ParrotUdpTransport[ParrotRequest, String]].allRequests.get } must
eventually(be(requestStrings.size))
} finally {
- feeder.shutdown()
- server.shutdown()
+ feeder.shutdown() // this will implicitly shut down the server as well
}
}
}

0 comments on commit 87d324d

Please sign in to comment.