From 9c4ba35471ce84535d6e9e1d0979b7ad6b111d59 Mon Sep 17 00:00:00 2001 From: Robert Pickering Date: Thu, 19 Dec 2024 14:41:28 +0100 Subject: [PATCH] really skip broken tests --- .../IAST/AspNetCore2IastTests.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tracer/test/Datadog.Trace.Security.IntegrationTests/IAST/AspNetCore2IastTests.cs b/tracer/test/Datadog.Trace.Security.IntegrationTests/IAST/AspNetCore2IastTests.cs index 2c50c9e6e0f1..ed298610c86d 100644 --- a/tracer/test/Datadog.Trace.Security.IntegrationTests/IAST/AspNetCore2IastTests.cs +++ b/tracer/test/Datadog.Trace.Security.IntegrationTests/IAST/AspNetCore2IastTests.cs @@ -568,13 +568,11 @@ await VerifyHelper.VerifySpans(spansFiltered, settings) .DisableRequireUniquePrefix(); } - [SkippableFact] + [SkippableFact(Skip = "End point missing due to changes in Samples.Security.AspNetCore2 - refactoring in progess to restore")] [Trait("Category", "ArmUnsupported")] [Trait("RunOnWindows", "True")] public async Task TestIastStoredXssRequest() { - throw new SkipException("End point missing due to changes in Samples.Security.AspNetCore2 - refactoring in progess to restore"); - var filename = "Iast.StoredXss.AspNetCore2." + (IastEnabled ? "IastEnabled" : "IastDisabled"); if (RedactionEnabled is true) { filename += ".RedactionEnabled"; } var url = "/Iast/StoredXss"; @@ -593,13 +591,11 @@ await VerifyHelper.VerifySpans(spansFiltered, settings) .DisableRequireUniquePrefix(); } - [SkippableFact] + [SkippableFact(Skip = "End point missing due to changes in Samples.Security.AspNetCore2 - refactoring in progess to restore")] [Trait("Category", "ArmUnsupported")] [Trait("RunOnWindows", "True")] public async Task TestIastStoredXssEscapedRequest() { - throw new SkipException("End point missing due to changes in Samples.Security.AspNetCore2 - refactoring in progess to restore"); - var filename = "Iast.StoredXssEscaped.AspNetCore2." + (IastEnabled ? "IastEnabled" : "IastDisabled"); var url = "/Iast/StoredXssEscaped"; IncludeAllHttpSpans = true;