From e17575304b0fac475cc66c86bc03106524866ae5 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Fri, 9 Oct 2020 11:05:04 +1100 Subject: [PATCH] Add 60 sleep to workflow There is some sort of timing issue when spinning up the monero containers on github CI. I do not know exactly what is the cause but we have a configurable 'additional sleep time' already available for `testcontainers` that can resolve this issue. Use the environment variable MONERO_ADDITIONAL_SLEEP_PERIOD to tell `testcontainers` to wait an additional 60 while bringing up the monero container. --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cfa28fba..531def83 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -75,3 +75,5 @@ jobs: - name: Cargo test run: cargo test --workspace --all-features + env: + MONERO_ADDITIONAL_SLEEP_PERIOD: 60000