Skip to content

Commit 1c06b3f

Browse files
author
Paulo Gomes
committed
Set timeout to fix intermittent errors
Signed-off-by: Paulo Gomes <[email protected]>
1 parent e84031a commit 1c06b3f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

config/testdata/git/large-repo.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
spec:
66
gitImplementation: go-git
77
interval: 10m
8+
timeout: 2m
89
url: https://github.com/hashgraph/hedera-mirror-node.git
910
ref:
1011
branch: main
@@ -19,6 +20,7 @@ metadata:
1920
spec:
2021
gitImplementation: libgit2
2122
interval: 10m
23+
timeout: 2m
2224
url: https://github.com/hashgraph/hedera-mirror-node.git
2325
ref:
2426
branch: main

hack/ci/e2e.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,5 +137,5 @@ kubectl -n source-system wait helmchart/helmchart-bucket --for=condition=ready -
137137

138138
echo "Run large Git repo tests"
139139
kubectl -n source-system apply -f "${ROOT_DIR}/config/testdata/git/large-repo.yaml"
140-
kubectl -n source-system wait gitrepository/large-repo-go-git --for=condition=ready --timeout=2m
141-
kubectl -n source-system wait gitrepository/large-repo-libgit2 --for=condition=ready --timeout=2m
140+
kubectl -n source-system wait gitrepository/large-repo-go-git --for=condition=ready --timeout=2m15s
141+
kubectl -n source-system wait gitrepository/large-repo-libgit2 --for=condition=ready --timeout=2m15s

0 commit comments

Comments
 (0)