Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ketsiambaku committed Apr 10, 2024
1 parent fd90229 commit 95c28bc
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions service/history/decision/handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,14 @@ package decision
import (
"context"
"errors"
"reflect"
"testing"

"github.com/golang/mock/gomock"
"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"
"github.com/uber-go/tally"

"github.com/uber/cadence/common"
"github.com/uber/cadence/common/cache"
"github.com/uber/cadence/common/client"
Expand All @@ -43,8 +47,6 @@ import (
"github.com/uber/cadence/service/history/execution"
"github.com/uber/cadence/service/history/query"
"github.com/uber/cadence/service/history/shard"
"reflect"
"testing"
)

const (
Expand Down Expand Up @@ -326,12 +328,7 @@ func (s *DecisionHandlerSuite) assertQueryCounts(queryRegistry query.Registry, b

func (s *DecisionHandlerSuite) expectHandleDecisionTaskScheduledCalls(domainID string, state *persistence.WorkflowMutableState, shardContex *shard.MockContext) {
workflowExecutionResponse := &persistence.GetWorkflowExecutionResponse{
State: state,
//&persistence.WorkflowMutableState{
//ExecutionInfo: info,
// ExecutionStats: &persistence.ExecutionStats{},
// BufferedEvents: append([]*types.HistoryEvent{}, &types.HistoryEvent{}),
//},
State: state,
MutableStateStats: &persistence.MutableStateStats{},
}
workflowExecutionResponse.State.ExecutionStats = &persistence.ExecutionStats{}
Expand Down

0 comments on commit 95c28bc

Please sign in to comment.