cadence-client icon indicating copy to clipboard operation
cadence-client copied to clipboard

Unit test framework - check delayed callback after starting workflow

Open meiliang86 opened this issue 4 years ago • 0 comments

Is your feature request related to a problem? Please describe. Delayed callback after starting workflow will not take effect. Cadence lib should prevent this from happening. Repro: send signal in the delayed callback, and then wait on signal in workflow. Start workflow first then call delayed callback. Test will timeout.

Proposed Solution Error out in the delayed call back method. Panic maybe.

Additional context Add any other context or screenshots about the feature request here.

meiliang86 avatar Jul 16 '20 23:07 meiliang86