testing

package module
v0.0.0-...-7a1789f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2023 License: MIT Imports: 1 Imported by: 0

README

Test

A repro repo for testing setting a custom Workflow ID in a test environment using

env.SetStartWorkflowOptions(client.StartWorkflowOptions{
    ID: "custom-workflow-id",
})

and then trying to SignalWorkflowByID using that ID.

Expected: go test passes. Actual: go test fails with "Received unexpected error: Workflow custom-workflow-id not exists"

Internally to the workflow, it appears to have the right ID, but the test environment can't find it.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Workflow

func Workflow(ctx workflow.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL