Permalink
Browse files

increase timeout for Akka in unit tests

  • Loading branch information...
1 parent 547d855 commit 12aa0f7d9b18fa78f76a18e6db6ea89548a80db8 @benmur committed Jan 2, 2013
@@ -11,7 +11,7 @@ import net.benmur.riemann.client._
trait TestingTransportSupport {
import RiemannClient._
- implicit val timeout = Timeout(1 millisecond)
+ implicit val timeout = Timeout(10 seconds)
implicit object TestingTransportEventPartSendOff extends SendOff[EventPart, TestingTransport] {
def sendOff(connection: Connection[TestingTransport], command: Write[EventPart]): Unit = connection match {
@@ -82,4 +82,4 @@ trait TestingTransportSupport {
val protoMsgQuery = Proto.Msg.newBuilder.setQuery(protoQuery).build
}
-object TestingTransportSupport extends TestingTransportSupport with DestinationOps
+object TestingTransportSupport extends TestingTransportSupport with DestinationOps

0 comments on commit 12aa0f7

Please sign in to comment.