Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
davidporter-id-au committed Mar 11, 2024
1 parent eed9520 commit f31fd10
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions service/history/execution/mutable_state_builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1331,8 +1331,8 @@ func TestAssignEventIDToBufferedEvents(t *testing.T) {
},
},
},
expectedNextEventID: 13,
expectedUpdateActivityInfos: map[int64]*persistence.ActivityInfo{},
expectedNextEventID: 13,
expectedUpdateActivityInfos: map[int64]*persistence.ActivityInfo{},
expectedUpdateChildExecutionInfos: map[int64]*persistence.ChildExecutionInfo{},
},
"Activity completed and started - this should update any buffered activities": {
Expand Down Expand Up @@ -1391,8 +1391,8 @@ func TestAssignEventIDToBufferedEvents(t *testing.T) {
},
},
},
expectedNextEventID: 7,
expectedUpdateActivityInfos: map[int64]*persistence.ActivityInfo{},
expectedNextEventID: 7,
expectedUpdateActivityInfos: map[int64]*persistence.ActivityInfo{},
expectedUpdateChildExecutionInfos: map[int64]*persistence.ChildExecutionInfo{},
},
"Activity task started and a pending activity is updated - this should be put to the updatedActivityInfos map with all the other counters incremented": {
Expand Down Expand Up @@ -1472,8 +1472,8 @@ func TestAssignEventIDToBufferedEvents(t *testing.T) {
},
},
},
expectedNextEventID: 8,
expectedUpdateActivityInfos: map[int64]*persistence.ActivityInfo{},
expectedNextEventID: 8,
expectedUpdateActivityInfos: map[int64]*persistence.ActivityInfo{},
expectedUpdateChildExecutionInfos: map[int64]*persistence.ChildExecutionInfo{},
},
"Activity task started and then Cancelled": {
Expand Down Expand Up @@ -1516,8 +1516,8 @@ func TestAssignEventIDToBufferedEvents(t *testing.T) {
},
},
},
expectedNextEventID: 8,
expectedUpdateActivityInfos: map[int64]*persistence.ActivityInfo{},
expectedNextEventID: 8,
expectedUpdateActivityInfos: map[int64]*persistence.ActivityInfo{},
expectedUpdateChildExecutionInfos: map[int64]*persistence.ChildExecutionInfo{},
},
"Activity task started and then failed": {
Expand Down Expand Up @@ -1560,8 +1560,8 @@ func TestAssignEventIDToBufferedEvents(t *testing.T) {
},
},
},
expectedNextEventID: 8,
expectedUpdateActivityInfos: map[int64]*persistence.ActivityInfo{},
expectedNextEventID: 8,
expectedUpdateActivityInfos: map[int64]*persistence.ActivityInfo{},
expectedUpdateChildExecutionInfos: map[int64]*persistence.ChildExecutionInfo{},
},
"Activity task started and then timed out": {
Expand Down Expand Up @@ -1604,8 +1604,8 @@ func TestAssignEventIDToBufferedEvents(t *testing.T) {
},
},
},
expectedNextEventID: 8,
expectedUpdateActivityInfos: map[int64]*persistence.ActivityInfo{},
expectedNextEventID: 8,
expectedUpdateActivityInfos: map[int64]*persistence.ActivityInfo{},
expectedUpdateChildExecutionInfos: map[int64]*persistence.ChildExecutionInfo{},
},
"Child workflow scheduled and then completed": {
Expand Down

0 comments on commit f31fd10

Please sign in to comment.