From 1c06b3f0c042341cbd8e57ecfa5505037e2c39f4 Mon Sep 17 00:00:00 2001 From: Paulo Gomes Date: Thu, 20 Jan 2022 08:23:43 +0000 Subject: [PATCH] Set timeout to fix intermittent errors Signed-off-by: Paulo Gomes --- config/testdata/git/large-repo.yaml | 2 ++ hack/ci/e2e.sh | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config/testdata/git/large-repo.yaml b/config/testdata/git/large-repo.yaml index 74dcfa93..139b4441 100644 --- a/config/testdata/git/large-repo.yaml +++ b/config/testdata/git/large-repo.yaml @@ -5,6 +5,7 @@ metadata: spec: gitImplementation: go-git interval: 10m + timeout: 2m url: https://github.com/hashgraph/hedera-mirror-node.git ref: branch: main @@ -19,6 +20,7 @@ metadata: spec: gitImplementation: libgit2 interval: 10m + timeout: 2m url: https://github.com/hashgraph/hedera-mirror-node.git ref: branch: main diff --git a/hack/ci/e2e.sh b/hack/ci/e2e.sh index 4ea5df3f..d8df62ab 100755 --- a/hack/ci/e2e.sh +++ b/hack/ci/e2e.sh @@ -137,5 +137,5 @@ kubectl -n source-system wait helmchart/helmchart-bucket --for=condition=ready - echo "Run large Git repo tests" kubectl -n source-system apply -f "${ROOT_DIR}/config/testdata/git/large-repo.yaml" -kubectl -n source-system wait gitrepository/large-repo-go-git --for=condition=ready --timeout=2m -kubectl -n source-system wait gitrepository/large-repo-libgit2 --for=condition=ready --timeout=2m +kubectl -n source-system wait gitrepository/large-repo-go-git --for=condition=ready --timeout=2m15s +kubectl -n source-system wait gitrepository/large-repo-libgit2 --for=condition=ready --timeout=2m15s