mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Increase QPS limits in density test
This commit is contained in:
parent
81fcd778e3
commit
a8ed5103f6
@ -135,9 +135,16 @@ var _ = Describe("Density", func() {
|
||||
framework.NamespaceDeletionTimeout = time.Hour
|
||||
|
||||
BeforeEach(func() {
|
||||
c = framework.Client
|
||||
// Explicitly create a client with higher QPS limits.
|
||||
// However, make those at most comparable to components.
|
||||
config, err := loadConfig()
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
config.QPS = 20
|
||||
config.Burst = 30
|
||||
c, err = loadClientFromConfig(config)
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
|
||||
ns = framework.Namespace.Name
|
||||
var err error
|
||||
|
||||
nodes := ListSchedulableNodesOrDie(c)
|
||||
nodeCount = len(nodes.Items)
|
||||
|
Loading…
Reference in New Issue
Block a user