Skip to content

Commit fe1823d

Browse files
maclover7targos
authored andcommitted
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>
1 parent 4510ca3 commit fe1823d

2 files changed

Lines changed: 1 addition & 13 deletions

File tree

‎test/async-hooks/testcfg.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
importtestpy
44

55
defGetConfiguration(context, root):
6-
returntestpy.AsyncHooksTestConfiguration(context, root, 'async-hooks')
6+
returntestpy.ParallelTestConfiguration(context, root, 'async-hooks')

‎test/testpy/__init__.py‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -165,18 +165,6 @@ def ListTests(self, current_path, path, arch, mode):
165165
SimpleTestCase(test, file_path, arch, mode, self.context, self, self.additional_flags))
166166
returnresult
167167

168-
classAsyncHooksTestConfiguration(SimpleTestConfiguration):
169-
def__init__(self, context, root, section, additional=None):
170-
super(AsyncHooksTestConfiguration, self).__init__(context, root, section,
171-
additional)
172-
173-
defListTests(self, current_path, path, arch, mode):
174-
result=super(AsyncHooksTestConfiguration, self).ListTests(
175-
current_path, path, arch, mode)
176-
fortestinresult:
177-
test.parallel=True
178-
returnresult
179-
180168
classAbortTestConfiguration(SimpleTestConfiguration):
181169
def__init__(self, context, root, section, additional=None):
182170
super(AbortTestConfiguration, self).__init__(context, root, section,

0 commit comments

Comments
 (0)