Skip to content

Commit

Permalink
Add EncodedFailureAttributes to supported capabilities (#3244)
Browse files Browse the repository at this point in the history
  • Loading branch information
bergundy authored Aug 18, 2022
1 parent ef78ea9 commit 9e0cc83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions service/frontend/workflowHandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -2962,6 +2962,7 @@ func (wh *WorkflowHandler) GetSystemInfo(ctx context.Context, request *workflows
InternalErrorDifferentiation: true,
ActivityFailureIncludeHeartbeat: true,
SupportsSchedules: true,
EncodedFailureAttributes: true,
},
}, nil
}
Expand Down
1 change: 1 addition & 0 deletions service/frontend/workflowHandler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1857,6 +1857,7 @@ func (s *workflowHandlerSuite) TestGetSystemInfo() {
s.True(resp.Capabilities.InternalErrorDifferentiation)
s.True(resp.Capabilities.ActivityFailureIncludeHeartbeat)
s.True(resp.Capabilities.SupportsSchedules)
s.True(resp.Capabilities.EncodedFailureAttributes)
}

func (s *workflowHandlerSuite) newConfig() *Config {
Expand Down

0 comments on commit 9e0cc83

Please sign in to comment.