Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
masaaania committed Oct 25, 2023
1 parent 4cf5ac0 commit a770db5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 8 additions & 0 deletions pkg/batch/api/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import (
"github.com/bucketeer-io/bucketeer/pkg/batch/jobs"
"github.com/bucketeer-io/bucketeer/pkg/batch/jobs/calculator"
"github.com/bucketeer-io/bucketeer/pkg/batch/jobs/experiment"
"github.com/bucketeer-io/bucketeer/pkg/batch/jobs/mau"
"github.com/bucketeer-io/bucketeer/pkg/batch/jobs/notification"
"github.com/bucketeer-io/bucketeer/pkg/batch/jobs/opsevent"
"github.com/bucketeer-io/bucketeer/pkg/batch/jobs/rediscounter"
Expand Down Expand Up @@ -627,6 +628,13 @@ func newBatchService(t *testing.T,
jobs.WithTimeout(5*time.Minute),
jobs.WithLogger(logger),
),
mau.NewMAUSummarizer(
mysqlMockClient,
eventCounterMockClient,
jpLocation,
jobs.WithTimeout(30*time.Minute),
jobs.WithLogger(logger),
),
logger,
notification.WithRunningDurationPerBatch(pullerRunningDuration),
)
Expand Down
4 changes: 1 addition & 3 deletions pkg/batch/jobs/mau/mau_summarizer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ func TestRun(t *testing.T) {
desc string
setup func(r *mauSummarizer)
expected error
}{
{},
}
}{}

for _, p := range patterns {
t.Run(p.desc, func(t *testing.T) {
Expand Down

0 comments on commit a770db5

Please sign in to comment.