[skip e2e] Improve annotation (#14388)

Signed-off-by: Xieql <qianglong.xie@zilliz.com>
This commit is contained in:
Xieql 2021-12-28 10:56:06 +08:00 committed by GitHub
parent 5fdd10e555
commit 9e07a0d04d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,7 +96,7 @@ func Test_ProcessFuncParallel(t *testing.T) {
err = ProcessFuncParallel(total, runtime.NumCPU(), evenErrorF, "evenErrorF") // Parallel by CPU
assert.NotEqual(t, err, nil, "process function parallel must be right")
// rand.Int() may be always a even number
// rand.Int() may be always an even number
randomErrorF := func(idx int) error {
if rand.Int()%2 == 0 {
return errors.New("random location: " + strconv.Itoa(idx))