Skip to content

Commit

Permalink
Fix batch deployment test nil pointer exception (#769)
Browse files Browse the repository at this point in the history
  • Loading branch information
antlai-temporal authored Feb 27, 2025
1 parent 728274a commit cbf2b52
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion temporalcli/commands.workflow_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,9 @@ func (s *SharedServerSuite) TestWorkflow_Batch_Update_Options_Versioning_Overrid

var jsonResp workflowservice.DescribeWorkflowExecutionResponse
assert.NoError(t, temporalcli.UnmarshalProtoJSONWithOptions(res.Stdout.Bytes(), &jsonResp, true))
versioningInfo := jsonResp.WorkflowExecutionInfo.VersioningInfo

versioningInfo := jsonResp.GetWorkflowExecutionInfo().GetVersioningInfo()
assert.NotNil(t, versioningInfo)
assert.NotNil(t, versioningInfo.VersioningOverride)
assert.Equal(t, version2, versioningInfo.VersioningOverride.PinnedVersion)
}
Expand Down

0 comments on commit cbf2b52

Please sign in to comment.