protected override async Task When() { var resp = await _persistentSubscriptionsClient.GetInfoAsync(new GetInfoReq { Options = new GetInfoReq.Types.Options { GroupName = _groupName, All = new Empty() } }, GetCallOptions(AdminCredentials)); _actualSubscriptionInfo = resp.SubscriptionInfo; }
protected override async Task When() { var resp = await _persistentSubscriptionsClient.GetInfoAsync(new GetInfoReq { Options = new GetInfoReq.Types.Options { GroupName = _groupName, StreamIdentifier = new StreamIdentifier { StreamName = ByteString.CopyFromUtf8(_streamName) } } }, GetCallOptions(AdminCredentials)); _actualSubscriptionInfo = resp.SubscriptionInfo; }