Skip to content

Commit 8dc9191

Browse files
committed
typo
1 parent 40e7081 commit 8dc9191

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/benchmark/benchmark_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -294,17 +294,17 @@ spec:
294294

295295
now := time.Now()
296296
Eventually(func() int {
297-
sunccess := 0
297+
success := 0
298298
for i := 0; i < totalConsumers; i++ {
299299
consumerName := getConsumerName(i)
300300
if s.NewAPISIXClient().GET("/get").
301301
WithHeader("apikey", consumerName).
302302
Expect().Raw().StatusCode != http.StatusOK {
303-
return sunccess
303+
return success
304304
}
305-
sunccess++
305+
success++
306306
}
307-
return sunccess
307+
return success
308308
}).WithTimeout(15 * time.Minute).ProbeEvery(1 * time.Second).Should(Equal(totalConsumers))
309309
costTime := time.Since(now)
310310
report.AddResult(TestResult{

0 commit comments

Comments
 (0)