StreamRefs spec fail (#28018)
* Wrong timeout used for subscription timeout (cherry picked from commit 05098eef1d9ecdbb5f0c8c5cda29aa1890ddc9e6)
This commit is contained in:
parent
c13fa76ab5
commit
8c5a0fac8e
1 changed files with 2 additions and 1 deletions
|
|
@ -37,6 +37,7 @@ object StreamRefSpec extends MultiNodeConfig {
|
|||
commonConfig(
|
||||
debugConfig(on = false)
|
||||
.withFallback(ConfigFactory.parseString("""
|
||||
akka.stream.materializer.stream-ref.subscription-timeout = 10 s
|
||||
akka.cluster {
|
||||
downing-provider-class = akka.cluster.testkit.AutoDowning
|
||||
testkit.auto-down-unreachable-after = 1s
|
||||
|
|
@ -254,7 +255,7 @@ abstract class StreamRefSpec extends MultiNodeSpec(StreamRefSpec) with MultiNode
|
|||
// and it triggered the subscription timeout. Therefore we must wait more than the
|
||||
// the subscription timeout for a failure
|
||||
val timeout = system.settings.config
|
||||
.getDuration("akka.stream.materializer.subscription-timeout.timeout")
|
||||
.getDuration("akka.stream.materializer.stream-ref.subscription-timeout")
|
||||
.asScala + 2.seconds
|
||||
streamLifecycle3.expectMsg(timeout, "failed-system-42-tmp")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue