Skip to content

Commit

Permalink
fix error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
duoertai committed Mar 26, 2024
1 parent 08b1efc commit 2430f28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integ/workflow_uncompleted_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func TestStateApiTimeoutWorkflow(t *testing.T) {

fmt.Println(err)

expectedMsg := "workflow is not completed successfully, closedStatus: FAILED, failedErrorType(applies if failed as closedStatus):STATE_API_FAIL_MAX_OUT_RETRY_ERROR_TYPE, error message:activity error (type: StateApiWaitUntil, scheduledEventID: 9, startedEventID: 10, identity: ): activity StartToClose timeout (type: StartToClose)"
expectedMsg := "workflow is not completed successfully, closedStatus: FAILED, failedErrorType(applies if failed as closedStatus):STATE_API_FAIL_MAX_OUT_RETRY_ERROR_TYPE, error message:activity error (type: StateApiWaitUntil, scheduledEventID: 8, startedEventID: 9, identity: ): activity StartToClose timeout (type: StartToClose)"
assert.Equal(t, expectedMsg, err.Error())

out, err2 := client.GetComplexWorkflowResults(context.Background(), wfId, "")
Expand Down

0 comments on commit 2430f28

Please sign in to comment.