Skip to content

Commit ce60a91

Browse files
committed
actions: twister: scale nodes up for large test coverage
If we determine we need more nodes than the default, do not override the calculated number. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
1 parent c9a3dae commit ce60a91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/ci/test_plan.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def parse_args():
331331
if total_tests % args.tests_per_builder != total_tests:
332332
nodes = nodes + 1
333333

334-
if nodes > 5:
334+
if args.default_matrix > nodes > 5:
335335
nodes = args.default_matrix
336336

337337
tp.write(f"TWISTER_TESTS={total_tests}\n")

0 commit comments

Comments
 (0)