diff --git a/.github/workflows/check-pr.yml b/.github/workflows/check-pr.yml index 997acacd..5d496809 100644 --- a/.github/workflows/check-pr.yml +++ b/.github/workflows/check-pr.yml @@ -5,6 +5,7 @@ on: jobs: check-pr: name: Check PR + timeout-minutes: 20 runs-on: ubuntu-latest env: JAVA_OPTS: -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8 diff --git a/consensus-client-it/src/test/scala/units/BaseItTestSuite.scala b/consensus-client-it/src/test/scala/units/BaseItTestSuite.scala index deba508a..751950ba 100644 --- a/consensus-client-it/src/test/scala/units/BaseItTestSuite.scala +++ b/consensus-client-it/src/test/scala/units/BaseItTestSuite.scala @@ -67,7 +67,7 @@ trait BaseItTestSuite override protected def afterAll(): Unit = { stopNodes() - network.close() + // network.close() super.afterAll() } diff --git a/consensus-client-it/src/test/scala/units/docker/EcContainer.scala b/consensus-client-it/src/test/scala/units/docker/EcContainer.scala index bb73ec3f..ac5b69b0 100644 --- a/consensus-client-it/src/test/scala/units/docker/EcContainer.scala +++ b/consensus-client-it/src/test/scala/units/docker/EcContainer.scala @@ -41,6 +41,7 @@ class EcContainer(network: NetworkImpl, number: Int, ip: String) extends BaseCon .withHostName(hostName) .withIpv4Address(ip) .withEntrypoint("/tmp/run.sh") + .withStopTimeout(5) } lazy val rpcPort = container.getMappedPort(RpcPort)