mirror of
https://github.com/go-kratos/kratos.git
synced 2025-01-30 04:31:03 +02:00
fix: fix p2c test (#1607)
This commit is contained in:
parent
037296cdbf
commit
f42b1c4dd2
@ -56,12 +56,12 @@ func TestWrr3(t *testing.T) {
|
|||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
group.Wait()
|
group.Wait()
|
||||||
assert.Greater(t, count1, int64(2000))
|
assert.Greater(t, count1, int64(1500))
|
||||||
assert.Less(t, count1, int64(4000))
|
assert.Less(t, count1, int64(4500))
|
||||||
assert.Greater(t, count2, int64(2000))
|
assert.Greater(t, count2, int64(1500))
|
||||||
assert.Less(t, count2, int64(4000))
|
assert.Less(t, count2, int64(4500))
|
||||||
assert.Greater(t, count3, int64(2000))
|
assert.Greater(t, count3, int64(1500))
|
||||||
assert.Less(t, count3, int64(4000))
|
assert.Less(t, count3, int64(4500))
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestEmpty(t *testing.T) {
|
func TestEmpty(t *testing.T) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user