Skip to content

Commit

Permalink
loader: dont fail if no tests are discovered
Browse files Browse the repository at this point in the history
  • Loading branch information
gousteris committed Oct 17, 2024
1 parent 482b3f6 commit 874cd05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ducktape/tests/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def load(self, symbols, excluded_test_symbols=None):
# Sort to make sure we get a consistent order for when we create subsets
all_test_context_list = sorted(all_test_context_list, key=attrgetter("test_id"))
if not all_test_context_list:
raise LoaderException("No tests to run!")
self.logger.warn("No tests to run!")
self.logger.debug("Discovered these tests: " + str(all_test_context_list))
# Select the subset of tests.
if self.historical_report:
Expand Down

0 comments on commit 874cd05

Please sign in to comment.