Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fe1823d

Browse filesBrowse 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
Copy full SHA for fe1823d

File tree

Expand file treeCollapse file tree

2 files changed

+1
-13
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+1
-13
lines changed
Open diff view settings
Collapse file

‎test/async-hooks/testcfg.py‎

Copy file name to clipboardExpand all lines: test/async-hooks/testcfg.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
import testpy
44

55
def GetConfiguration(context, root):
6-
return testpy.AsyncHooksTestConfiguration(context, root, 'async-hooks')
6+
return testpy.ParallelTestConfiguration(context, root, 'async-hooks')
Collapse file

‎test/testpy/__init__.py‎

Copy file name to clipboardExpand all lines: test/testpy/__init__.py
-12Lines 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
return result
167167

168-
class AsyncHooksTestConfiguration(SimpleTestConfiguration):
169-
def __init__(self, context, root, section, additional=None):
170-
super(AsyncHooksTestConfiguration, self).__init__(context, root, section,
171-
additional)
172-
173-
def ListTests(self, current_path, path, arch, mode):
174-
result = super(AsyncHooksTestConfiguration, self).ListTests(
175-
current_path, path, arch, mode)
176-
for test in result:
177-
test.parallel = True
178-
return result
179-
180168
class AbortTestConfiguration(SimpleTestConfiguration):
181169
def __init__(self, context, root, section, additional=None):
182170
super(AbortTestConfiguration, self).__init__(context, root, section,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.