Commit c88f859f authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #21869 from wojtek-t/increase_qps_limit_in_density

Auto commit by PR queue bot
parents 8a5c9594 a8ed5103
...@@ -135,9 +135,16 @@ var _ = Describe("Density", func() { ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment