Skip to content

Commit df89bc6

Browse files
committed
fix: gitlab unit test and e2e test
Signed-off-by: Zaki Shaikh <zashaikh@redhat.com>
1 parent fcf1c33 commit df89bc6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pkg/provider/gitlab/gitlab_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ func TestCreateStatus(t *testing.T) {
222222
},
223223
},
224224
eventEmitter: events.NewEventEmitter(run.Clients.Kube, logger),
225+
Logger: logger,
225226
}
226227
if tt.args.event == nil {
227228
tt.args.event = info.NewEvent()

test/gitlab_delete_tag_event_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func TestGitlabDeleteTagEvent(t *testing.T) {
4949
runcnx.Clients.Log.Infof("Deleted Tag %s in %s repository", tagName, projectinfo.Name)
5050

5151
reg := regexp.MustCompile("event Delete Tag Push Hook is not supported*")
52-
err = twait.RegexpMatchingInControllerLog(ctx, runcnx, *reg, 10, "controller", gitlab.Ptr(int64(20)))
52+
err = twait.RegexpMatchingInControllerLog(ctx, runcnx, *reg, 10, "controller", gitlab.Ptr(int64(50)))
5353
assert.NilError(t, err)
5454
}
5555

0 commit comments

Comments
 (0)