make tests parallel

This commit is contained in:
kevin
2020-08-21 23:15:45 +08:00
parent 2b1466e41e
commit 5e7b514ae2
2 changed files with 16 additions and 0 deletions

View File

@@ -54,6 +54,7 @@ func TestP2cPicker_Pick(t *testing.T) {
test := test
t.Run(test.name, func(t *testing.T) {
t.Parallel()
const total = 100000
builder := new(p2cPickerBuilder)
ready := make(map[resolver.Address]balancer.SubConn)