test(grpc-data): A2a — revocation test awaits the worker teardown; README conditions profile
This commit is contained in:
+2
-1
@@ -149,7 +149,8 @@ public sealed class GrpcDataConditionStreamTests
|
||||
var after = await stream.DrainAsync(f);
|
||||
after.OfType<DataSubscriptionConditions>().SelectMany(x => x.Items).Count().ShouldBeLessThan(400);
|
||||
stream.Ended.ShouldBeTrue("a revoked condition item ends the stream, like a revoked v1 value item");
|
||||
// Frames already prepared before the revocation are bounded by the queue; nothing is produced after it.
|
||||
// The worker's teardown (after the reader ended) releases the condition item.
|
||||
await stream.Session.Completion.WaitAsync(TimeSpan.FromSeconds(10), Ct);
|
||||
f.StreamOf(stream, allowMissing: true).ShouldBeNull();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user