Skip to content

Commit

Permalink
make 0/negative number of parts less fatal (#1095)
Browse files Browse the repository at this point in the history
Co-authored-by: Pyifan <[email protected]>
  • Loading branch information
Pyifan and Pyifan authored Jun 4, 2024
1 parent 2a91046 commit e5b4f57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testplan/runnable/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,8 @@ def _get_tasks(
)
)
if num_of_parts < 1:
raise RuntimeError(
num_of_parts = 1
self.logger.error(
f"Calculated num_of_parts for {uid} is {num_of_parts},"
" check the input runtime_data and auto_part_runtime_limit"
)
Expand Down

0 comments on commit e5b4f57

Please sign in to comment.