dotnet/orleans

Add a test to produce into a stream for the 1st time in OnDeactivateAsync

Open

#1,830 opened on Jun 10, 2016

View on GitHub
 (0 comments) (0 reactions) (0 assignees)C# (10,777 stars) (2,123 forks)batch import
enhancementhacktoberfesthelp wanted

Description

We probably want to add a test case for streams where a grain subscribes to a stream but never produces to it, and then in OnDeactivateAsync is produces to a stream for the 1st time (or calls OnCompletedAsync). That may expose a bug, since we will start a first time producer initialization while deactivating, and this will be followed by producer unregistration as part of DeactivateStreamResources.

Reported https://gitter.im/dotnet/orleans?at=57596f821cf76dd64535887d

Contributor guide