dotnet/orleans

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

Open

#1.830 geöffnet am 10. Juni 2016

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (2.123 Forks)batch import
enhancementhacktoberfesthelp wanted

Repository-Metriken

Stars
 (10.777 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 2T 2h) (64 gemergte PRs in 30 T)

Beschreibung

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