Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ import scala.concurrent.{ Await, Future }
import scala.concurrent.Promise
import scala.concurrent.duration._
import scala.util.control.NoStackTrace

import com.typesafe.config._

import akka.{ Done, NotUsed }
import akka.actor.{ Actor, ActorIdentity, ActorLogging, ActorRef, ActorSystem, ActorSystemImpl, Identify, Props }
import akka.actor.Status.Failure
Expand All @@ -23,6 +21,7 @@ import akka.stream.testkit.Utils.TE
import akka.stream.testkit.scaladsl._
import akka.testkit.{ AkkaSpec, TestKit, TestProbe }
import akka.util.ByteString
import org.scalatest.concurrent.Eventually

object StreamRefsSpec {

Expand Down Expand Up @@ -179,6 +178,7 @@ object StreamRefsSpec {
}
remote {
artery.canonical.port = 0
artery.canonical.hostname = localhost
use-unsafe-remote-features-outside-cluster = on
}
}
Expand All @@ -195,7 +195,7 @@ object StreamRefsSpec {
}
}

class StreamRefsSpec extends AkkaSpec(StreamRefsSpec.config()) {
class StreamRefsSpec extends AkkaSpec(StreamRefsSpec.config()) with Eventually {
import StreamRefsSpec._

val remoteSystem = ActorSystem("RemoteSystem", StreamRefsSpec.config())
Expand Down