Skip to content

Commit 1d350d8

Browse files
authored
[nodejs] Revert flaky flag on Node.js Security Control test (#5673)
1 parent 0e6ace7 commit 1d350d8

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

manifests/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ tests/:
517517
test_security_controls.py:
518518
TestSecurityControls:
519519
'*': *ref_5_37_0
520-
fastify: flaky (APPSEC-58724)
520+
fastify: *ref_5_61_0
521521
nextjs: missing_feature
522522
rasp/:
523523
test_api10.py:

tests/appsec/iast/test_security_controls.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
# This product includes software developed at Datadog (https://www.datadoghq.com/).
33
# Copyright 2021 Datadog, Inc.
44

5-
from utils import features, rfc, weblog, irrelevant
5+
from utils import features, rfc, weblog, irrelevant, flaky, context
66
from tests.appsec.iast.utils import BaseSinkTest, assert_iast_vulnerability, assert_metric
77
from utils._weblog import HttpResponse
88

99

1010
@features.iast_security_controls
1111
@rfc("https://docs.google.com/document/d/1j1hp87-2wJnXUGADZxzLnvKJmaF_Gd6ZR1hPS3LVguQ/edit?pli=1&tab=t.0")
12+
@flaky(context.library <= "nodejs@5.80" and context.weblog_variant == "fastify", reason="APPSEC-58724")
1213
class TestSecurityControls:
1314
@staticmethod
1415
def assert_iast_is_enabled(request: HttpResponse) -> None:

0 commit comments

Comments
 (0)