Skip to content

Commit d4b5b97

Browse files
committed
chore: increase sinceSeconds in Git Clone e2e test
increased sinceSeconds in TestGithubGHEPullRequestGitCloneTask e2e test so that it is safe to get logs and match. Signed-off-by: Zaki Shaikh <zashaikh@redhat.com>
1 parent 70d1ff1 commit d4b5b97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/github_pullrequest_privaterepository_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func TestGithubGHEPullRequestGitCloneTask(t *testing.T) {
2929
ctx, err := cctx.GetControllerCtxInfo(ctx, g.Cnx)
3030
assert.NilError(t, err)
3131

32-
sinceSeconds := int64(20)
32+
sinceSeconds := int64(40)
3333
assert.NilError(t, wait.RegexpMatchingInControllerLog(ctx, g.Cnx, *regexp.MustCompile(".*fetched git-clone task"),
3434
10, "ghe-controller", nil, &sinceSeconds), "Error while checking the logs of the pipelines-as-code controller pod")
3535
defer g.TearDown(ctx, t)

0 commit comments

Comments
 (0)