Documentation
¶
Index ¶
- type Option
- type Stalled
- func (f *Stalled) Cleanup(t *testing.T)
- func (f *Stalled) CountStalledEvents(t *testing.T, ctx context.Context, id api.InstanceID) int
- func (f *Stalled) RestartAsReplica(t *testing.T, ctx context.Context, name string)
- func (f *Stalled) Run(t *testing.T, ctx context.Context)
- func (f *Stalled) ScheduleWorkflow(t *testing.T, ctx context.Context) api.InstanceID
- func (f *Stalled) WaitForCompleted(t *testing.T, ctx context.Context, id api.InstanceID)
- func (f *Stalled) WaitForNumberOfOrchestrationStartedEvents(t *testing.T, ctx context.Context, id api.InstanceID, expected int)
- func (f *Stalled) WaitForStalled(t *testing.T, ctx context.Context, id api.InstanceID) *protos.ExecutionStalledEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*options)
func WithInitialReplica ¶
func WithNamedWorkflowReplica ¶
func WithNamedWorkflowReplica(name string, workflow task.Orchestrator) Option
type Stalled ¶
type Stalled struct {
CurrentClient *client.TaskHubGrpcClient
// contains filtered or unexported fields
}
func (*Stalled) CountStalledEvents ¶
func (*Stalled) RestartAsReplica ¶
func (*Stalled) ScheduleWorkflow ¶
func (*Stalled) WaitForCompleted ¶
func (*Stalled) WaitForNumberOfOrchestrationStartedEvents ¶
func (*Stalled) WaitForStalled ¶
func (f *Stalled) WaitForStalled(t *testing.T, ctx context.Context, id api.InstanceID) *protos.ExecutionStalledEvent
Click to show internal directories.
Click to hide internal directories.