Skip to content

Commit a8212d3

Browse files
zakiskchmouel
authored andcommitted
chore: increase logs lines to check for string in e2e
Signed-off-by: Zaki Shaikh <[email protected]>
1 parent 76770ef commit a8212d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/gitlab_delete_tag_event_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import (
1212
tgitlab "github.com/openshift-pipelines/pipelines-as-code/test/pkg/gitlab"
1313
twait "github.com/openshift-pipelines/pipelines-as-code/test/pkg/wait"
1414
"github.com/tektoncd/pipeline/pkg/names"
15-
gitlab "gitlab.com/gitlab-org/api/client-go"
1615
"gotest.tools/v3/assert"
1716
)
1817

@@ -47,8 +46,9 @@ func TestGitlabDeleteTagEvent(t *testing.T) {
4746
assert.NilError(t, err)
4847
runcnx.Clients.Log.Infof("Deleted Tag %s in %s repository", tagName, projectinfo.Name)
4948

49+
logLinesToCheck := int64(100)
5050
reg := regexp.MustCompile("event Delete Tag Push Hook is not supported*")
51-
err = twait.RegexpMatchingInControllerLog(ctx, runcnx, *reg, 10, "controller", gitlab.Ptr(int64(20)))
51+
err = twait.RegexpMatchingInControllerLog(ctx, runcnx, *reg, 10, "controller", &logLinesToCheck)
5252
assert.NilError(t, err)
5353
}
5454

0 commit comments

Comments
 (0)