Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
alexshtin committed Feb 10, 2022
1 parent 731dddb commit a73eeeb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions service/history/workflow/delete_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ import (
persistencespb "go.temporal.io/server/api/persistence/v1"
"go.temporal.io/server/common"
carchiver "go.temporal.io/server/common/archiver"
"go.temporal.io/server/common/clock"
"go.temporal.io/server/common/definition"
"go.temporal.io/server/common/metrics"
"go.temporal.io/server/common/namespace"
Expand All @@ -59,6 +60,7 @@ type (
mockCache *MockCache
mockArchivalClient *archiver.MockClient
mockShardContext *shard.MockContext
mockClock *clock.EventTimeSource

deleteManager DeleteManager
}
Expand All @@ -83,6 +85,7 @@ func (s *deleteManagerWorkflowSuite) SetupTest() {
s.controller = gomock.NewController(s.T())
s.mockCache = NewMockCache(s.controller)
s.mockArchivalClient = archiver.NewMockClient(s.controller)
s.mockClock = clock.NewEventTimeSource()

config := tests.NewDynamicConfig()
s.mockShardContext = shard.NewMockContext(s.controller)
Expand All @@ -93,6 +96,7 @@ func (s *deleteManagerWorkflowSuite) SetupTest() {
s.mockCache,
config,
s.mockArchivalClient,
s.mockClock,
)
}

Expand Down
7 changes: 4 additions & 3 deletions service/history/workflow/task_generator_mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a73eeeb

Please sign in to comment.