fix: fix p2c test (#1607)

pull/1611/head
longxboy 3 years ago committed by GitHub
parent 037296cdbf
commit f42b1c4dd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      selector/p2c/p2c_test.go

@ -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) {

Loading…
Cancel
Save