To me this looks like a bug, but there may be an explanation for this behavior:
I have a workflow with some initial logic and then a selector to listen for channel messages.
I’m testing the workflow and asserting that no error occurred:
s.NoError(s.env.GetWorkflowError())
If the GetWorkflowError() is called, it causes a deadline exceeded error, which was very difficult to figure out. Is this expected behavior?
Thanks for the reply…the test is actually not sending a signal. The flow has a few activities that run at the beginning of the flow and then waits for signals to complete the remainder of the flow. This test was only verifying those initial activities and no signal was actually sent.
Do you see any problem with that?