Path: redb-route/tests/Shared/Conformance/IConnectorStand.cs Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route Page: https://redbase.app/src/dev-2026-12-06/redb-route/tests/Shared/Conformance/IConnectorStand.cs ---- namespace redb.Route.Tests.Conformance; /// /// The broker a connector's suite runs against, reached without the connector: a test puts raw messages in and reads /// them out through the broker's own client, so what it checks does not depend on the code under test. When the /// broker runs in a container the suite may break, breaks it. /// public interface IConnectorStand { /// /// Restarts and pauses the broker's container; null when no container is named, and the tests that need it /// are skipped (). /// BrokerFault? Fault { get; } /// How long a test waits for the broker or the route to get somewhere: . TimeSpan Wait { get; } /// Puts one text message on with the broker's own client. Task PutAsync(string destination, string body, CancellationToken ct = default); /// /// Takes every message off with the broker's own client and returns their texts; /// waits up to for the first one. /// Task> DrainAsync(string destination, TimeSpan wait, CancellationToken ct = default); }