dotnet/orleans

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

Open

#1 830 ouverte le 10 juin 2016

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)C# (2 123 forks)batch import
enhancementhacktoberfesthelp wanted

Métriques du dépôt

Stars
 (10 777 stars)
Métriques de merge PR
 (Merge moyen 2j 2h) (64 PRs mergées en 30 j)

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

Guide contributeur