1
0
mirror of https://github.com/ACINQ/eclair.git synced 2024-11-19 09:54:02 +01:00

Increase docker timeouts for electrumx in tests (#1589)

This commit is contained in:
Pierre-Marie Padiou 2020-11-06 11:19:21 +01:00 committed by GitHub
parent f32e75b006
commit 59449bfcfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,6 +24,8 @@ import fr.acinq.eclair.TestUtils
import fr.acinq.eclair.blockchain.bitcoind.BitcoindService
import org.scalatest.Suite
import scala.concurrent.duration.DurationInt
trait ElectrumxService extends DockerTestKit {
self: Suite with BitcoindService =>
@ -45,6 +47,11 @@ trait ElectrumxService extends DockerTestKit {
//.withLogLineReceiver(LogLineReceiver(true, println))
}
//override DockerKit timeouts
override val StartContainersTimeout = 60 seconds
override val StopContainersTimeout = 60 seconds
override def dockerContainers: List[DockerContainer] = electrumxContainer :: super.dockerContainers
private val client: DockerClient = DefaultDockerClient.fromEnv().build()