Skip to content

Commit 10eb2e8

Browse files
committed
Adjust nfr scale test to lower upstream count for nginx plus
1 parent 8e33194 commit 10eb2e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/suite/scale_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ var _ = Describe("Scale test", Ordered, Label("nfr", "scale"), func() {
5959
httpsListenerCount = 64
6060
httpRouteCount = 1000
6161
ossUpstreamServerCount = 648
62-
plusUpstreamServerCount = 556
62+
plusUpstreamServerCount = 545
6363
)
6464

6565
BeforeAll(func() {
@@ -475,7 +475,7 @@ The logs are attached only if there are errors.
475475

476476
Eventually(
477477
framework.CreateResponseChecker(url, address, timeoutConfig.RequestTimeout),
478-
).WithTimeout(5 * time.Second).WithPolling(100 * time.Millisecond).Should(Succeed())
478+
).WithTimeout(5 * timeoutConfig.RequestTimeout).WithPolling(100 * time.Millisecond).Should(Succeed())
479479

480480
Expect(
481481
resourceManager.ScaleDeployment(namespace, "backend", upstreamServerCount),
@@ -488,7 +488,7 @@ The logs are attached only if there are errors.
488488

489489
Eventually(
490490
framework.CreateResponseChecker(url, address, timeoutConfig.RequestTimeout),
491-
).WithTimeout(5 * time.Second).WithPolling(100 * time.Millisecond).Should(Succeed())
491+
).WithTimeout(5 * timeoutConfig.RequestTimeout).WithPolling(100 * time.Millisecond).Should(Succeed())
492492
}
493493

494494
setNamespace := func(objects framework.ScaleObjects) {

0 commit comments

Comments
 (0)