test(grpc-data): A2a — revocation test awaits the worker teardown; README conditions profile

This commit is contained in:
Joseph Doherty
2026-11-24 12:42:17 -05:00
parent ba0555d4a5
commit 45a3eee9c8
2 changed files with 12 additions and 1 deletions
@@ -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();
}