Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions test/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,6 @@ func (ts *IntegrationTestSuite) TestBasic() {
err := ts.executeWorkflow("test-basic", ts.workflows.Basic, &expected)
ts.NoError(err)
ts.EqualValues(expected, ts.activities.invoked())
// See https://grokbase.com/p/gg/golang-nuts/153jjj8dgg/go-nuts-fm-suffix-in-function-name-what-does-it-mean
// for explanation of -fm postfix.
ts.Equal([]string{"Go", "ExecuteWorkflow begin", "ExecuteActivity", "ExecuteActivity", "ExecuteWorkflow end"},
ts.tracer.GetTrace("Basic"))

Expand Down
4 changes: 2 additions & 2 deletions worker/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,15 +182,15 @@ type (

// ReplayWorkflowHistoryFromJSONFile executes a single workflow task for the json history file downloaded from the cli.
// To download the history file: temporal workflow show --workflow-id <workflow_id> --output json > <output_file>
// See https://github.com/temporalio/temporal/blob/master/tools/cli/README.md for full documentation
// See https://docs.temporal.io/cli and https://github.com/temporalio/cli for full documentation.
// Use for testing the backwards compatibility of code changes and troubleshooting workflows in a debugger.
// The logger is an optional parameter. Defaults to the noop logger.
ReplayWorkflowHistoryFromJSONFile(logger log.Logger, jsonfileName string) error

// ReplayPartialWorkflowHistoryFromJSONFile executes a single workflow task for the json history file upto provided
// lastEventID(inclusive), downloaded from the cli.
// To download the history file: temporal workflow show --workflow-id <workflow_id> --output json > <output_file>
// See https://github.com/temporalio/temporal/blob/master/tools/cli/README.md for full documentation
// See https://docs.temporal.io/cli and https://github.com/temporalio/cli for full documentation.
// Use for testing the backwards compatibility of code changes and troubleshooting workflows in a debugger.
// The logger is an optional parameter. Defaults to the noop logger.
ReplayPartialWorkflowHistoryFromJSONFile(logger log.Logger, jsonfileName string, lastEventID int64) error
Expand Down
Loading