Test Akka Discovery with Scala 3 (#30410)
This commit is contained in:
parent
83c6e9506b
commit
083303266e
2 changed files with 3 additions and 2 deletions
|
|
@ -38,7 +38,7 @@ jobs:
|
||||||
- stage: scala3
|
- stage: scala3
|
||||||
name: scala3
|
name: scala3
|
||||||
# separate job since only a few modules compile with Scala 3 yet
|
# separate job since only a few modules compile with Scala 3 yet
|
||||||
script: jabba install adopt@1.11-0 && jabba use adopt@1.11-0 && sbt -Dakka.build.scalaVersion=3.0 "akka-actor-tests/test:compile" akka-actor-testkit-typed/compile akka-actor-typed/compile akka-discovery/compile akka-pki/test:compile akka-protobuf/test:compile akka-protobuf-v3/test:compile akka-slf4j/test:compile akka-stream/compile akka-stream-tests-tck/test akka-coordination/test akka-serialization-jackson/test:compile akka-testkit/test akka-stream-testkit/test
|
script: jabba install adopt@1.11-0 && jabba use adopt@1.11-0 && sbt -Dakka.build.scalaVersion=3.0 "akka-actor-tests/test:compile" akka-actor-testkit-typed/compile akka-actor-typed/compile akka-discovery/test akka-pki/test:compile akka-protobuf/test:compile akka-protobuf-v3/test:compile akka-slf4j/test:compile akka-stream/compile akka-stream-tests-tck/test akka-coordination/test akka-serialization-jackson/test:compile akka-testkit/test akka-stream-testkit/test
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- name: whitesource
|
- name: whitesource
|
||||||
|
|
|
||||||
|
|
@ -72,7 +72,8 @@ abstract class DockerBindDnsService(config: Config) extends AkkaSpec(config) wit
|
||||||
})
|
})
|
||||||
|
|
||||||
val creation = client.createContainer(containerConfig, containerName)
|
val creation = client.createContainer(containerConfig, containerName)
|
||||||
creation.warnings() should be(null).or(have(size(0)))
|
if (creation.warnings() != null)
|
||||||
|
creation.warnings() should have(size(0))
|
||||||
id = Some(creation.id())
|
id = Some(creation.id())
|
||||||
|
|
||||||
client.startContainer(creation.id())
|
client.startContainer(creation.id())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue