Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add integration test for SignalWorkflow #235

Merged

Conversation

alexshtin
Copy link
Member

@alexshtin alexshtin commented Aug 19, 2020

Adding integration tests to check if SignalWorkflow works for primitive types and proto objects.
https://community.temporal.io/t/sending-proto-messages-directly-over-signal-channels/441/3

@alexshtin alexshtin requested a review from mfateev August 19, 2020 07:32
@@ -1239,7 +1239,7 @@ func (w *WorkflowOptions) getSignalChannel(ctx Context, signalName string) Recei
if ch, ok := w.signalChannels[signalName]; ok {
return ch
}
ch := NewBufferedChannel(ctx, defaultSignalChannelSize)
ch := NewNamedBufferedChannel(ctx, signalName, defaultSignalChannelSize)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hope there are no side effects for this change. name is used for error message and it would be great to see something meaningful there rather then empty string.

@alexshtin alexshtin merged commit 9108392 into temporalio:master Aug 20, 2020
@alexshtin alexshtin deleted the feature/signal-integration-test branch August 20, 2020 02:28
muralisrini pushed a commit to muralisrini/sdk-go that referenced this pull request Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants