Commit 2bb8b82
committed
[integ-tests-framework] Fix tests triggered in other AWS partitions
#7538 changed the region list from `args.regions` to retrieving the regions from test definitions (e.g. develop.yaml) to avoid spinning up Python workers in all `args.regions` even if no tests are running in some regions. However, regions in the test definitions could be "too much" too, because it could contain tests in other partitions.
Therefore, this commit adds a intersection between `args.regions` (Jenkins supplies a partition-scoped args.regions list) (when running without Jenkins, args.regions is usually empty) and regions from test definitions (which limits to regions really used by tests).1 parent 7a380d7 commit 2bb8b82
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
879 | 879 | | |
880 | 880 | | |
881 | 881 | | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
882 | 885 | | |
883 | 886 | | |
884 | 887 | | |
| |||
0 commit comments