mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Merge pull request #6803 from wojtek-t/separate_density_and_scalability
Explicitly define scalability test suite for Jenkins scalability suite
This commit is contained in:
commit
1ffaf67429
@ -40,7 +40,7 @@ fi
|
|||||||
# Additional parameters that are passed to ginkgo runner.
|
# Additional parameters that are passed to ginkgo runner.
|
||||||
GINKGO_TEST_ARGS=""
|
GINKGO_TEST_ARGS=""
|
||||||
|
|
||||||
if [[ "${SCALABILITY:-}" == "true" ]]; then
|
if [[ "${PERFORMANCE:-}" == "true" ]]; then
|
||||||
if [[ "${KUBERNETES_PROVIDER}" == "aws" ]]; then
|
if [[ "${KUBERNETES_PROVIDER}" == "aws" ]]; then
|
||||||
export MASTER_SIZE="m3.xlarge"
|
export MASTER_SIZE="m3.xlarge"
|
||||||
else
|
else
|
||||||
@ -49,7 +49,7 @@ if [[ "${SCALABILITY:-}" == "true" ]]; then
|
|||||||
# TODO(wojtek-t): Once we have enough quota for the project, increase
|
# TODO(wojtek-t): Once we have enough quota for the project, increase
|
||||||
# NUM_MINIONS to 100 (which is our v1.0 goal).
|
# NUM_MINIONS to 100 (which is our v1.0 goal).
|
||||||
export NUM_MINIONS="10"
|
export NUM_MINIONS="10"
|
||||||
GINKGO_TEST_ARGS="--ginkgo.focus=Density "
|
GINKGO_TEST_ARGS="--ginkgo.focus=\[Performance suite\] "
|
||||||
else
|
else
|
||||||
if [[ "${KUBERNETES_PROVIDER}" == "aws" ]]; then
|
if [[ "${KUBERNETES_PROVIDER}" == "aws" ]]; then
|
||||||
export MASTER_SIZE="t2.small"
|
export MASTER_SIZE="t2.small"
|
||||||
|
@ -228,6 +228,9 @@ var _ = Describe("Density", func() {
|
|||||||
|
|
||||||
for _, testArg := range densityTests {
|
for _, testArg := range densityTests {
|
||||||
name := fmt.Sprintf("should allow starting %d pods per node", testArg.podsPerMinion)
|
name := fmt.Sprintf("should allow starting %d pods per node", testArg.podsPerMinion)
|
||||||
|
if testArg.podsPerMinion <= 30 {
|
||||||
|
name = "[Performance suite] " + name
|
||||||
|
}
|
||||||
if testArg.skip {
|
if testArg.skip {
|
||||||
name = "[Skipped] " + name
|
name = "[Skipped] " + name
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user