Fix: singledo panic

This commit is contained in:
Dreamacro
2019-12-10 16:26:15 +08:00
parent 2334bafe68
commit 36716ca695
2 changed files with 7 additions and 5 deletions

View File

@ -14,6 +14,7 @@ func TestBasic(t *testing.T) {
shardCount := 0
call := func() (interface{}, error) {
foo++
time.Sleep(time.Millisecond * 5)
return nil, nil
}