Skip to content

Commit 23b6081

Browse files
joyeecheungguangwong
authored andcommitted
tools: increase timeout of running WPT
We run all WPT from one subset in the same process using workers. As the number of the tests grow, it can take longer to run some of the subsets, but it's still overall faster than running them in different processes. This patch increases the timeout for WPT to prevent the test from failing because it takes longer to run (even though it would still complete at some point). Refs: nodejs/reliability#371 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> PR-URL: nodejs/node#44574 Backport-PR-URL: nodejs/node#44872
1 parent 7a4b641 commit 23b6081

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,7 @@ def GetVm(self, arch, mode):
957957

958958
def GetTimeout(self, mode, section=''):
959959
timeout = self.timeout * TIMEOUT_SCALEFACTOR[ARCH_GUESS or 'ia32'][mode]
960-
if section == 'pummel' or section == 'benchmark' or section == 'wpt':
960+
if section == 'pummel' or section == 'benchmark':
961961
timeout = timeout * 6
962962
# We run all WPT from one subset in the same process using workers.
963963
# As the number of the tests grow, it can take longer to run some of the

0 commit comments

Comments
 (0)