Path: redb-route/tests/Shared/Conformance/BrokerFaultFactAttribute.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/BrokerFaultFactAttribute.cs ---- namespace redb.Route.Tests.Conformance; /// /// A fact of that breaks the broker's container: skipped unless /// is set, as tests/docker/run-fault-suite.sh does. The release gate does not set it. /// The test itself finds the container through the stand (). /// public sealed class BrokerFaultFactAttribute : FactAttribute { /// The variable a fault run sets. public const string Variable = "REDB_TEST_BROKER_FAULTS"; /// Skips the fact outside a fault run. public BrokerFaultFactAttribute() { if (string.IsNullOrEmpty(Environment.GetEnvironmentVariable(Variable))) Skip = $"{Variable} is not set: the test breaks the broker's container with docker. Not run by the release " + "gate; run it by hand with tests/docker/run-fault-suite.sh before a release that touches the " + "connector's connection handling."; } }