Skip to content

Commit c774437

Browse files
committed
return disable logging for scale test
1 parent 2b6a95f commit c774437

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/suite/scale_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -438,9 +438,7 @@ The logs are attached only if there are errors.
438438
Expect(resourceManager.WaitForPodsToBeReady(ctx, namespace)).To(Succeed())
439439

440440
for i := range len(objects.ScaleIterationGroups) {
441-
Expect(resourceManager.Apply(
442-
objects.ScaleIterationGroups[i],
443-
)).To(Succeed())
441+
Expect(resourceManager.Apply(objects.ScaleIterationGroups[i])).To(Succeed())
444442

445443
if i == 0 {
446444
var nginxPodNames []string
@@ -476,7 +474,9 @@ The logs are attached only if there are errors.
476474
framework.CreateResponseChecker(
477475
url,
478476
address,
479-
timeoutConfig.RequestTimeout),
477+
timeoutConfig.RequestTimeout,
478+
framework.WithLoggingDisabled(), // disable logging to avoid huge log for 1000 requests
479+
),
480480
).WithTimeout(6 * timeoutConfig.RequestTimeout).WithPolling(100 * time.Millisecond).Should(Succeed())
481481

482482
ttr := time.Since(startCheck)

0 commit comments

Comments
 (0)