Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
longquanzheng committed Jul 24, 2019
1 parent 1052e23 commit 46160d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions service/history/historyEngine3_eventsv2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ package history
import (
"context"
"testing"
"time"

"github.com/pborman/uuid"
"github.com/stretchr/testify/mock"
Expand Down Expand Up @@ -208,6 +209,7 @@ func (s *engine3Suite) TestRecordDecisionTaskStartedSuccessStickyEnabled() {
msBuilder := newMutableStateBuilderWithEventV2(s.historyEngine.shard, s.mockEventsCache,
loggerimpl.NewDevelopmentForTest(s.Suite), we.GetRunId())
executionInfo := msBuilder.GetExecutionInfo()
executionInfo.LastUpdatedTimestamp = time.Now()
executionInfo.StickyTaskList = stickyTl

addWorkflowExecutionStartedEvent(msBuilder, we, "wType", tl, []byte("input"), 100, 200, identity)
Expand Down

0 comments on commit 46160d0

Please sign in to comment.