From 7e5c05148a8f93e861f99a16406e050e5f671063 Mon Sep 17 00:00:00 2001 From: freearhey Date: Thu, 7 Jan 2021 13:51:14 +0300 Subject: [PATCH] Skip "403 Forbidden" error during test Usually gives "false positive" results --- scripts/test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/test.js b/scripts/test.js index c133e5e0b..2a59e5314 100644 --- a/scripts/test.js +++ b/scripts/test.js @@ -37,7 +37,8 @@ async function test() { if ( !item.status.ok && item.status.reason !== 'Timed out' && - item.status.reason !== 'Duplicate' + item.status.reason !== 'Duplicate' && + item.status.reason !== 'Server returned 403 Forbidden (access denied)' ) { stats.failures++