Skip to content

Commit ff3f016

Browse files
authored
[IAST] skip dotnet 2.1 tests that can't work (#6467)
## Summary of changes Previous fix didn't work.
1 parent c48a1f7 commit ff3f016

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tracer/test/Datadog.Trace.Security.IntegrationTests/IAST/AspNetCore2IastTests.cs

+2-6
Original file line numberDiff line numberDiff line change
@@ -568,13 +568,11 @@ await VerifyHelper.VerifySpans(spansFiltered, settings)
568568
.DisableRequireUniquePrefix();
569569
}
570570

571-
[SkippableFact]
571+
[SkippableFact(Skip = "End point missing due to changes in Samples.Security.AspNetCore2 - refactoring in progess to restore")]
572572
[Trait("Category", "ArmUnsupported")]
573573
[Trait("RunOnWindows", "True")]
574574
public async Task TestIastStoredXssRequest()
575575
{
576-
throw new SkipException("End point missing due to changes in Samples.Security.AspNetCore2 - refactoring in progess to restore");
577-
578576
var filename = "Iast.StoredXss.AspNetCore2." + (IastEnabled ? "IastEnabled" : "IastDisabled");
579577
if (RedactionEnabled is true) { filename += ".RedactionEnabled"; }
580578
var url = "/Iast/StoredXss";
@@ -593,13 +591,11 @@ await VerifyHelper.VerifySpans(spansFiltered, settings)
593591
.DisableRequireUniquePrefix();
594592
}
595593

596-
[SkippableFact]
594+
[SkippableFact(Skip = "End point missing due to changes in Samples.Security.AspNetCore2 - refactoring in progess to restore")]
597595
[Trait("Category", "ArmUnsupported")]
598596
[Trait("RunOnWindows", "True")]
599597
public async Task TestIastStoredXssEscapedRequest()
600598
{
601-
throw new SkipException("End point missing due to changes in Samples.Security.AspNetCore2 - refactoring in progess to restore");
602-
603599
var filename = "Iast.StoredXssEscaped.AspNetCore2." + (IastEnabled ? "IastEnabled" : "IastDisabled");
604600
var url = "/Iast/StoredXssEscaped";
605601
IncludeAllHttpSpans = true;

0 commit comments

Comments
 (0)