Skip to content

Commit 60ff548

Browse files
committed
Use retries for zap-advanced tests
1 parent 9c2fe68 commit 60ff548

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

‎tests/integration/scanner/zap-advanced.test.js‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
const { scan } = require("../helpers");
2+
const retry = require("../retry");
23

3-
test(
4+
retry(
45
"ZAP-advanced scan without config YAML against a plain 'nginx container' should only find couple findings",
56
async () => {
67
const { count } = await scan(
@@ -16,7 +17,7 @@ test(
1617
60 * 7 * 1000
1718
);
1819

19-
test(
20+
retry(
2021
"ZAP-advanced scan without config YAML against 'bodgeit' container should only find couple findings",
2122
async () => {
2223
const { count } = await scan(
@@ -32,7 +33,7 @@ test(
3233
60 * 16 * 1000
3334
);
3435

35-
test(
36+
retry(
3637
"ZAP-advanced scan without config YAML against 'juiceshop' should only find couple findings",
3738
async () => {
3839
const { count } = await scan(
@@ -48,7 +49,7 @@ test(
4849
60 * 16 * 1000
4950
);
5051

51-
test(
52+
retry(
5253
"ZAP-advanced scan without config YAML against 'swagger-petstore' should only find couple findings",
5354
async () => {
5455
const { count } = await scan(

0 commit comments

Comments
 (0)