36 references to _runningStreams
InMemory.FunctionalTests (36)
Http2\Http2ConnectionTests.cs (12)
1933
_runningStreams
[streamId].SetResult();
1937
_runningStreams
[streamId].SetException(ex);
3242
_runningStreams
[streamId].SetResult();
3246
_runningStreams
[streamId].SetException(ex);
3287
await
_runningStreams
[1].Task.DefaultTimeout();
3308
await
_runningStreams
[3].Task.DefaultTimeout();
3352
_runningStreams
[streamId].SetResult();
3356
_runningStreams
[streamId].SetException(ex);
4265
_runningStreams
[streamId].SetResult();
4269
_runningStreams
[streamId].SetException(ex);
4359
_runningStreams
[streamId].SetResult();
4363
_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();