Commit 578aed3
committed
Unify secondary pod handling and share pods under pre_provision
New pod type value to capture deployments that require a
secondary pod, mimicking logic used to deploy other pod types.
Created a new function to determine if secondary or primary IP
is required for a test case, and updated validate_offload to
use this new logic.
If in pre_provision mode and both primary and secondary tests
are specified, only one pod is deployed for both sets of test
cases, reducing the number of resources required. Currently
only supported for NORMAL and SECONDARY pods.
Signed-off-by: Venkat Kunaparaju <vkunaparaju@nvidia.com>1 parent b3f1c09 commit 578aed3
4 files changed
Lines changed: 45 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
| 484 | + | |
489 | 485 | | |
490 | 486 | | |
491 | 487 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | 48 | | |
55 | 49 | | |
56 | 50 | | |
| |||
302 | 296 | | |
303 | 297 | | |
304 | 298 | | |
| 299 | + | |
305 | 300 | | |
306 | 301 | | |
307 | 302 | | |
| |||
485 | 480 | | |
486 | 481 | | |
487 | 482 | | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
| 483 | + | |
| 484 | + | |
493 | 485 | | |
494 | 486 | | |
495 | 487 | | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
496 | 496 | | |
497 | 497 | | |
498 | 498 | | |
| |||
1115 | 1115 | | |
1116 | 1116 | | |
1117 | 1117 | | |
1118 | | - | |
1119 | | - | |
1120 | | - | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
1121 | 1122 | | |
1122 | 1123 | | |
1123 | 1124 | | |
| |||
1420 | 1421 | | |
1421 | 1422 | | |
1422 | 1423 | | |
1423 | | - | |
1424 | 1424 | | |
1425 | | - | |
1426 | | - | |
1427 | | - | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
1428 | 1429 | | |
1429 | 1430 | | |
1430 | 1431 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
657 | 657 | | |
658 | 658 | | |
659 | 659 | | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
660 | 664 | | |
661 | 665 | | |
662 | 666 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
| 371 | + | |
371 | 372 | | |
372 | 373 | | |
373 | 374 | | |
| |||
472 | 473 | | |
473 | 474 | | |
474 | 475 | | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
475 | 484 | | |
476 | 485 | | |
477 | 486 | | |
| |||
908 | 917 | | |
909 | 918 | | |
910 | 919 | | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
911 | 928 | | |
912 | 929 | | |
913 | 930 | | |
| 931 | + | |
| 932 | + | |
914 | 933 | | |
915 | 934 | | |
916 | 935 | | |
917 | 936 | | |
918 | 937 | | |
919 | 938 | | |
920 | 939 | | |
| 940 | + | |
| 941 | + | |
921 | 942 | | |
922 | 943 | | |
923 | 944 | | |
| |||
0 commit comments