Upgrade to Scala 2.13.5 (#30072)

This commit is contained in:
Johan Andrén 2021-03-30 20:57:23 +02:00 committed by GitHub
parent 846359919f
commit c5655a9ce6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
264 changed files with 1071 additions and 538 deletions

View file

@ -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)