mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-23 09:00:20 +08:00
make test stable
This commit is contained in:
parent
49316b113e
commit
6237d01948
@ -51,8 +51,10 @@ func TestP2cPicker_Pick(t *testing.T) {
|
||||
}
|
||||
|
||||
for _, test := range tests {
|
||||
test := test
|
||||
t.Run(test.name, func(t *testing.T) {
|
||||
const total = 10000
|
||||
t.Parallel()
|
||||
const total = 100000
|
||||
builder := new(p2cPickerBuilder)
|
||||
ready := make(map[resolver.Address]balancer.SubConn)
|
||||
for i := 0; i < test.candidates; i++ {
|
||||
|
Loading…
Reference in New Issue
Block a user