Unit test framework - check delayed callback after starting workflow
meiliang86 opened this issue · 0 comments
meiliang86 commented
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.