Skip to content

Commit

Permalink
Merge pull request #1417 from chloeegong/t-chloeegong-replica-flags
Browse files Browse the repository at this point in the history
[V2] test: adding flag for replicas to run scale tests
  • Loading branch information
k8s-ci-robot authored Jul 15, 2022
2 parents 2139ee4 + 1fda16a commit 4d45e5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/scale/azdisk_scale_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func scaleTests(isMultiZone bool) {

test.CSIDriver = testDriver
test.Pod = pod
test.Replicas = 1000
test.Replicas = *testerReplicas
test.StorageClassParameters = map[string]string{consts.SkuNameField: "Premium_LRS", "maxShares": "1", "cachingmode": "None"}

test.Run(cs, ns, schedulerName)
Expand Down
1 change: 1 addition & 0 deletions test/scale/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import (
var (
skipClusterBootstrap = flag.Bool("skip-cluster-bootstrap", false, "flag to indicate that we can skip cluster bootstrap.")
scaleTestTimeout = flag.Int("scale-test-timeout", 40, "flag to indicate the scale in and scale out test timeouts in minutes.")
testerReplicas = flag.Int("replicas", 1000, "flag to indicate the number of replicas for the scale tests.")
)

// handleFlags sets up all flags and parses the command line.
Expand Down

0 comments on commit 4d45e5c

Please sign in to comment.