Skip to content

Commit 6a02e5e

Browse files
committed
fix: increase number of lines of logs from pac-controller
increased logs lines in TestGithubPullRequestGitClone test to verify whether the required string exists or not. Signed-off-by: Zaki Shaikh <zashaikh@redhat.com>
1 parent a7b73ac commit 6a02e5e

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 TestGithubPullRequestGitClone(t *testing.T) {
2929
ctx, err := cctx.GetControllerCtxInfo(ctx, g.Cnx)
3030
assert.NilError(t, err)
3131

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

0 commit comments

Comments
 (0)