★ wanayoo — archive 1999 https://github.com/nodejs/node/commit/fe1823dc21Nouvelle recherche | Portail wanayoo
Skip to content
Permalink
Browse files

test: remove custom AsyncHooksTestConfiguration

Has the same behavior as `ParallelTestConfiguration`

PR-URL: #22008
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information...
maclover7 authored and targos committed Jul 28, 2018
1 parent 4510ca3 commit fe1823dc211960ff0fa515af2fc2894942fd3d05
Showing with 1 addition and 13 deletions.
  1. +1 −1 test/async-hooks/testcfg.py
  2. +0 −12 test/testpy/__init__.py
@@ -3,4 +3,4 @@
import testpy

def GetConfiguration(context, root):
return testpy.AsyncHooksTestConfiguration(context, root, 'async-hooks')
return testpy.ParallelTestConfiguration(context, root, 'async-hooks')
@@ -165,18 +165,6 @@ def ListTests(self, current_path, path, arch, mode):
SimpleTestCase(test, file_path, arch, mode, self.context, self, self.additional_flags))
return result

class AsyncHooksTestConfiguration(SimpleTestConfiguration):
def __init__(self, context, root, section, additional=None):
super(AsyncHooksTestConfiguration, self).__init__(context, root, section,
additional)

def ListTests(self, current_path, path, arch, mode):
result = super(AsyncHooksTestConfiguration, self).ListTests(
current_path, path, arch, mode)
for test in result:
test.parallel = True
return result

class AbortTestConfiguration(SimpleTestConfiguration):
def __init__(self, context, root, section, additional=None):
super(AbortTestConfiguration, self).__init__(context, root, section,

0 comments on commit fe1823d

Please sign in to comment.
You can’t perform that action at this time.