Skip to content

Commit 7bc916a

Browse files
zakiskpipelines-as-code[bot]
authored andcommitted
fix: fixed Gitea test TestGiteaPullRequestPrivateRepository flakiness
fixed flakiness in TestGiteaPullRequestPrivateRepository of Gitea seen in some PRs. Signed-off-by: Zaki Shaikh <zashaikh@redhat.com>
1 parent a9d60f9 commit 7bc916a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/gitea_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ func TestGiteaPullRequestPrivateRepository(t *testing.T) {
153153
defer f()
154154
reg := regexp.MustCompile(".*fetched git-clone task")
155155
maxLines := int64(20)
156-
err := twait.RegexpMatchingInControllerLog(ctx, topts.ParamsRun, *reg, 10, "controller", &maxLines)
156+
err := twait.RegexpMatchingInControllerLog(ctx, topts.ParamsRun, *reg, 20, "controller", &maxLines)
157157
assert.NilError(t, err)
158158
tgitea.WaitForSecretDeletion(t, topts, topts.TargetRefName)
159159
}

0 commit comments

Comments
 (0)