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:
parent
f32e75b006
commit
59449bfcfc
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user