36 references to _runningStreams
InMemory.FunctionalTests (36)
Http2\Http2ConnectionTests.cs (12)
1917
_runningStreams
[streamId].SetResult();
1921
_runningStreams
[streamId].SetException(ex);
3226
_runningStreams
[streamId].SetResult();
3230
_runningStreams
[streamId].SetException(ex);
3271
await
_runningStreams
[1].Task.DefaultTimeout();
3292
await
_runningStreams
[3].Task.DefaultTimeout();
3336
_runningStreams
[streamId].SetResult();
3340
_runningStreams
[streamId].SetException(ex);
4249
_runningStreams
[streamId].SetResult();
4253
_runningStreams
[streamId].SetException(ex);
4343
_runningStreams
[streamId].SetResult();
4347
_runningStreams
[streamId].SetException(ex);
Http2\Http2StreamTests.cs (14)
3195
_runningStreams
[streamIdFeature.StreamId].TrySetResult();
3230
_runningStreams
[streamIdFeature.StreamId].TrySetResult();
3255
_runningStreams
[streamIdFeature.StreamId].TrySetException(new Exception("ReadAsync was expected to throw."));
3266
_runningStreams
[streamIdFeature.StreamId].TrySetResult();
3270
_runningStreams
[streamIdFeature.StreamId].TrySetException(ex);
3298
_runningStreams
[streamIdFeature.StreamId].TrySetException(new Exception("ReadAsync was expected to throw."));
3309
_runningStreams
[streamIdFeature.StreamId].TrySetResult();
3313
_runningStreams
[streamIdFeature.StreamId].TrySetException(ex);
3343
_runningStreams
[streamIdFeature.StreamId].TrySetResult();
3351
await
_runningStreams
[streamIdFeature.StreamId].Task;
3355
_runningStreams
[streamIdFeature.StreamId].TrySetException(ex);
3383
_runningStreams
[streamIdFeature.StreamId].TrySetResult();
3393
await
_runningStreams
[streamIdFeature.StreamId].Task;
3397
_runningStreams
[streamIdFeature.StreamId].TrySetException(ex);
Http2\Http2TestBase.cs (10)
307
_runningStreams
[streamIdFeature.StreamId].TrySetResult();
329
_runningStreams
[streamIdFeature.StreamId].TrySetResult();
537
if (_httpTestBase.
_runningStreams
.TryGetValue(stream.StreamId, out var tcs))
618
_runningStreams
[streamId] = tcs;
633
_runningStreams
[streamId] = tcs;
652
_runningStreams
[streamId] = tcs;
694
_runningStreams
[streamId] = tcs;
739
_runningStreams
[streamId] = tcs;
773
return
_runningStreams
[streamId].Task;
778
return Task.WhenAll(
_runningStreams
.Values.Select(tcs => tcs.Task)).DefaultTimeout();