Skip to content

Commit b92685d

Browse files
committed
Revert removal of line in hasVulnerability
1 parent a0e46cf commit b92685d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

dd-smoke-tests/iast-util/src/testFixtures/groovy/datadog/smoketest/AbstractIastServerSmokeTest.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ abstract class AbstractIastServerSmokeTest extends AbstractServerSmokeTest {
119119
}
120120
final vulnerabilities = parseVulnerabilities(json)
121121
found.addAll(vulnerabilities)
122+
return vulnerabilities.find(matcher) != null
122123
}
123124
} catch (SpockTimeoutError toe) {
124125
throw new AssertionError("No matching vulnerability found. Vulnerabilities found: ${new JsonBuilder(found).toPrettyString()}")

0 commit comments

Comments
 (0)