Compiler warnings for actor-tests and remote-tests (#26685)

This commit is contained in:
Christopher Batey 2019-04-15 09:54:16 +01:00 committed by Arnout Engelen
parent 4399e499c4
commit 10e525062a
93 changed files with 439 additions and 387 deletions

View file

@ -40,7 +40,7 @@ object RemoteRestartedQuarantinedSpec extends MultiNodeConfig {
class Subject extends Actor {
def receive = {
case "shutdown" => context.system.terminate()
case "identify" => sender() ! (AddressUidExtension(context.system).addressUid -> self)
case "identify" => sender() ! (AddressUidExtension(context.system).longAddressUid -> self)
}
}
@ -70,7 +70,7 @@ abstract class RemoteRestartedQuarantinedSpec extends RemotingMultiNodeSpec(Remo
runOn(first) {
val secondAddress = node(second).address
val (uid, ref) = identifyWithUid(second, "subject")
val (uid, _) = identifyWithUid(second, "subject")
RARP(system).provider.transport.quarantine(node(second).address, Some(uid), "test")
@ -108,7 +108,7 @@ abstract class RemoteRestartedQuarantinedSpec extends RemotingMultiNodeSpec(Remo
}
expectMsgPF(10 seconds) {
case ThisActorSystemQuarantinedEvent(local, remote) =>
case ThisActorSystemQuarantinedEvent(_, _) =>
}
enterBarrier("still-quarantined")