mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Merge pull request #21869 from wojtek-t/increase_qps_limit_in_density
Auto commit by PR queue bot
This commit is contained in:
commit
c88f859f70
@ -135,9 +135,16 @@ var _ = Describe("Density", func() {
|
|||||||
framework.NamespaceDeletionTimeout = time.Hour
|
framework.NamespaceDeletionTimeout = time.Hour
|
||||||
|
|
||||||
BeforeEach(func() {
|
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
|
ns = framework.Namespace.Name
|
||||||
var err error
|
|
||||||
|
|
||||||
nodes := ListSchedulableNodesOrDie(c)
|
nodes := ListSchedulableNodesOrDie(c)
|
||||||
nodeCount = len(nodes.Items)
|
nodeCount = len(nodes.Items)
|
||||||
|
Loading…
Reference in New Issue
Block a user