1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-28 03:57:02 +02:00

fix: fix p2c test (#1607)

This commit is contained in:
longxboy 2021-11-04 21:59:52 +08:00 committed by GitHub
parent 037296cdbf
commit f42b1c4dd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,12 +56,12 @@ func TestWrr3(t *testing.T) {
}()
}
group.Wait()
assert.Greater(t, count1, int64(2000))
assert.Less(t, count1, int64(4000))
assert.Greater(t, count2, int64(2000))
assert.Less(t, count2, int64(4000))
assert.Greater(t, count3, int64(2000))
assert.Less(t, count3, int64(4000))
assert.Greater(t, count1, int64(1500))
assert.Less(t, count1, int64(4500))
assert.Greater(t, count2, int64(1500))
assert.Less(t, count2, int64(4500))
assert.Greater(t, count3, int64(1500))
assert.Less(t, count3, int64(4500))
}
func TestEmpty(t *testing.T) {