Files
tasks/common/persistence/faultinjection/fault_generator.go
Stephan BehnkeandGitHub 6dc37be79e Remove one more WithFxOptionsForService from tests/dlq_test.go (#10336)
## What changed

Replaced one `WithFxOptionsForService` with fault injection.

## Why

We want to eliminate `WithFxOptionsForService` as it is blocking us from
migrating away from the `onebox.go` approach (which duplicates the fx
setup) since we don't want to expose an equivalent method in
`temporal/fx.go`.
2026-05-28 10:12:51 -07:00

8 lines
117 B
Go

package faultinjection
type (
faultGenerator interface {
generate(methodName string, request ...any) *fault
}
)