Skip to content

Commit

Permalink
[IAST] Skip failing tests (#6455)
Browse files Browse the repository at this point in the history
## Summary of changes

Skip two tests that now fail on master. They fail because the endpoint
in the test app they use was removed.

This wasn't spotted in the PR because they are only run on master.

A larger refactoring to fix this is in progress.
  • Loading branch information
robertpi authored Dec 19, 2024
1 parent 137aac2 commit aaaf963
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,8 @@ await VerifyHelper.VerifySpans(spansFiltered, settings)
[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";
Expand All @@ -596,6 +598,8 @@ await VerifyHelper.VerifySpans(spansFiltered, settings)
[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;
Expand Down

0 comments on commit aaaf963

Please sign in to comment.