Skip to content

Commit

Permalink
Allow java serialization for TypedActorRemoteDeploySpec (#27354)
Browse files Browse the repository at this point in the history
* Allow java serialization for TypedActorRemoteDeploySpec

* Also delete ignore for 2.12 annotation
  • Loading branch information
chbatey authored and raboof committed Jul 15, 2019
1 parent 50b6346 commit d2f5d2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
11 changes: 0 additions & 11 deletions akka-actor-tests/src/test/scala/akka/util/IgnoreForScala212.scala

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import scala.concurrent.duration._

import akka.actor.{ ActorSystem, Deploy, TypedActor, TypedProps }
import akka.testkit.AkkaSpec
import akka.util.IgnoreForScala212
import TypedActorRemoteDeploySpec._

import com.typesafe.config._
Expand All @@ -21,6 +20,7 @@ object TypedActorRemoteDeploySpec {
akka.remote.classic.netty.tcp.port = 0
akka.remote.artery.canonical.port = 0
akka.remote.use-unsafe-remote-features-without-cluster = on
akka.actor.allow-java-serialization = on
""")

trait RemoteNameService {
Expand Down Expand Up @@ -57,11 +57,11 @@ class TypedActorRemoteDeploySpec extends AkkaSpec(conf) {

"Typed actors" must {

"be possible to deploy remotely and communicate with" taggedAs IgnoreForScala212 in {
"be possible to deploy remotely and communicate with" in {
verify({ _.getName }, remoteName)
}

"be possible to deploy remotely and be able to dereference self" taggedAs IgnoreForScala212 in {
"be possible to deploy remotely and be able to dereference self" in {
verify({ _.getNameSelfDeref }, remoteName)
}

Expand Down

0 comments on commit d2f5d2d

Please sign in to comment.