dotnet/orleans

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

Open

#1,830 创建于 2016年6月10日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)C# (2,123 fork)batch import
enhancementhacktoberfesthelp wanted

仓库指标

Star
 (10,777 star)
PR 合并指标
 (平均合并 2天 2小时) (30 天内合并 64 个 PR)

描述

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

贡献者指南