test: remove custom AsyncHooksTestConfiguration

Has the same behavior as `ParallelTestConfiguration`

PR-URL: https://github.com/nodejs/node/pull/22008
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
Jon Moss 2018-07-27 20:10:27 -04:00
parent 48e17630ad
commit 3a056c0409
2 changed files with 1 additions and 13 deletions

View File

@ -3,4 +3,4 @@ sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
import testpy
def GetConfiguration(context, root):
return testpy.AsyncHooksTestConfiguration(context, root, 'async-hooks')
return testpy.ParallelTestConfiguration(context, root, 'async-hooks')

View File

@ -165,18 +165,6 @@ class AddonTestConfiguration(SimpleTestConfiguration):
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,