Skip to content

Commit 2063d8d

Browse files
authored
Merge pull request kubernetes#126352 from macsko/create_smaller_integration_scheduler_perf_cases
Make smaller workloads for scheduler_perf integration tests
2 parents d770dd6 + 77372cf commit 2063d8d

File tree

3 files changed

+211
-27
lines changed

3 files changed

+211
-27
lines changed

test/integration/scheduler_perf/README.md

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,22 @@ make test-integration WHAT=./test/integration/scheduler_perf KUBE_TEST_ARGS=-use
110110
```
111111

112112
Integration testing uses the same `config/performance-config.yaml` as
113-
benchmarking. By default, workloads labeled as `integration-test` are executed
114-
as part of integration testing. `-test-scheduling-label-filter` can be used to
115-
change that.
113+
benchmarking. By default, workloads labeled as `integration-test`
114+
are executed as part of integration testing (in ci-kubernetes-integration-master job).
115+
`-test-scheduling-label-filter` can be used to change that.
116+
All test cases should have at least one workload labeled as `integration-test`.
117+
118+
Running the integration tests with command above will only execute the workloads labeled as `short`.
119+
`SHORT=--short=false` variable added to the command can be used to disable this filtering.
120+
121+
We should make each test case with `short` label very small,
122+
so that all tests with the label should take less than 5 min to complete.
123+
The test cases labeled as `short` are executed in pull-kubernetes-integration job.
124+
125+
### Labels used by CI jobs
126+
127+
| CI Job | Labels |
128+
|----------------------------------|------------------------|
129+
| ci-kubernetes-integration-master | integration-test |
130+
| pull-kubernetes-integration | integration-test,short |
131+
| ci-benchmark-scheduler-perf | performance |

0 commit comments

Comments
 (0)