1
0
mirror of https://github.com/go-kratos/kratos.git synced 2026-05-22 10:15:24 +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
+6 -6
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) {