From 899a3693deee33c1b7df002d9f46eac38bf85246 Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Mon, 13 Jul 2026 11:08:57 -0400 Subject: [PATCH] =?UTF-8?q?test(TST-25):=20TEMP=20deliberate-red=20probe?= =?UTF-8?q?=20(do=20not=20merge)=20=E2=80=94=20verify=20test=20failure=20t?= =?UTF-8?q?urns=20windows-x86=20red?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DeliberateRedTests.cs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/ZB.MOM.WW.MxGateway.Worker.Tests/DeliberateRedTests.cs diff --git a/src/ZB.MOM.WW.MxGateway.Worker.Tests/DeliberateRedTests.cs b/src/ZB.MOM.WW.MxGateway.Worker.Tests/DeliberateRedTests.cs new file mode 100644 index 0000000..e5878e2 --- /dev/null +++ b/src/ZB.MOM.WW.MxGateway.Worker.Tests/DeliberateRedTests.cs @@ -0,0 +1,19 @@ +using Xunit; + +namespace ZB.MOM.WW.MxGateway.Worker.Tests; + +/// +/// TST-25 acceptance check (deliberate-red): a temporary always-failing test used to prove +/// that a Worker.Tests failure propagates through windev-worker-ci.ps1 -> ssh -> +/// run-windev-ci.sh -> a nonzero exit (i.e. a red CI job). This file is thrown away after the +/// check; it must never merge to a long-lived branch. +/// +public sealed class DeliberateRedTests +{ + /// Always fails, on purpose, to exercise exit-code propagation. + [Fact] + public void DeliberateRed_AlwaysFails() + { + Assert.True(false, "TST-25 deliberate-red acceptance probe (expected failure)."); + } +}