Skip to content

Commit 67a9171

Browse files
committed
update
1 parent d812dab commit 67a9171

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

goroutine_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func TestDelayOnceTimeout(t *testing.T) {
4242
d := NewDelayOnce(time.Second*2, time.Second*5, true)
4343
ctx := context.TODO()
4444
wg := sync.WaitGroup{}
45-
for i := 0; i < 10; i++ {
45+
for i := 0; i < 3; i++ {
4646
log.Println(`Trigger key_timeout`)
4747
isNew := d.DoWithState(ctx, `key_timeout`, func(isAbort func() bool) error {
4848
defer wg.Done()

0 commit comments

Comments
 (0)