Upgrade to Scala 2.13.5 (#30072)
This commit is contained in:
parent
846359919f
commit
c5655a9ce6
264 changed files with 1071 additions and 538 deletions
|
|
@ -5,9 +5,7 @@
|
|||
package akka.cluster
|
||||
|
||||
import scala.concurrent.duration._
|
||||
|
||||
import com.typesafe.config.ConfigFactory
|
||||
|
||||
import akka.actor.ActorIdentity
|
||||
import akka.actor.ActorRef
|
||||
import akka.actor.ExtendedActorSystem
|
||||
|
|
@ -22,6 +20,8 @@ import akka.serialization.SerializerWithStringManifest
|
|||
import akka.testkit._
|
||||
import akka.util.unused
|
||||
|
||||
import java.io.NotSerializableException
|
||||
|
||||
object LargeMessageClusterMultiJvmSpec extends MultiNodeConfig {
|
||||
val first = role("first")
|
||||
val second = role("second")
|
||||
|
|
@ -72,6 +72,7 @@ object LargeMessageClusterMultiJvmSpec extends MultiNodeConfig {
|
|||
// simulate slow serialization to not completely overload the machine/network, see issue #24576
|
||||
Thread.sleep(100)
|
||||
payload
|
||||
case _ => throw new NotSerializableException()
|
||||
}
|
||||
override def fromBinary(bytes: Array[Byte], manifest: String) = {
|
||||
Slow(bytes)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue