From ede34aa128970bd8db59ba264a2cb3924adfcf74 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sat, 13 Mar 2021 08:30:32 -0800 Subject: [PATCH] test: address flaky wpt/test-timers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Moving test harness from Parallel to Simple resolves most of the failures. negative-settimeout.any.js still needs to be marked flaky. Refs: https://github.com/nodejs/node/issues/37672 PR-URL: https://github.com/nodejs/node/pull/37691 Fixes: https://github.com/nodejs/node/issues/37672 Reviewed-By: Antoine du Hamel Reviewed-By: Michaƫl Zasso --- test/wpt/status/html/webappapis/timers.json | 6 +++++- test/wpt/testcfg.py | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/test/wpt/status/html/webappapis/timers.json b/test/wpt/status/html/webappapis/timers.json index 0967ef424bce67..62476f7f106609 100644 --- a/test/wpt/status/html/webappapis/timers.json +++ b/test/wpt/status/html/webappapis/timers.json @@ -1 +1,5 @@ -{} +{ + "negative-settimeout.any.js": { + "fail": "unreliable in Node.js; Refs: https://github.com/nodejs/node/issues/37672" + } +} diff --git a/test/wpt/testcfg.py b/test/wpt/testcfg.py index db235699ddfe57..3c356cf474d83c 100644 --- a/test/wpt/testcfg.py +++ b/test/wpt/testcfg.py @@ -3,4 +3,4 @@ import testpy def GetConfiguration(context, root): - return testpy.ParallelTestConfiguration(context, root, 'wpt') + return testpy.SimpleTestConfiguration(context, root, 'wpt')