Skip to content

Commit

Permalink
fixup! FetchTestData for a given test_type
Browse files Browse the repository at this point in the history
  • Loading branch information
vuvova committed Dec 30, 2023
1 parent 22fd901 commit dfed28f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common_factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def __init__(self, mtrDbPool, test_type, **kwargs):
self.test_type = test_type
super().__init__(dbpool=mtrDbPool, **kwargs)

@defer.inlineCallbacks
def get_tests_for_type(self, branch, typ, limit):
scale = 20
query = f"""
Expand All @@ -46,7 +47,6 @@ def get_tests_for_type(self, branch, typ, limit):
tests = yield self.runQueryWithRetry(query)
return list(t[0] for t in tests)

@defer.inlineCallbacks
def run(self):
test_re = r'^(?:.+/)?mysql-test/(?:suite/)?(.+?)/(?:[rt]/)?([^/]+)\.(?:test|result|rdiff)$'
branch = self.getProperty('master_branch')
Expand Down

0 comments on commit dfed28f

Please sign in to comment.