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

貢獻者指南