internal/wire: mark tests as parallelizable (#218)
This commit is contained in:
@@ -45,10 +45,6 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- go: "1.11.x"
|
|
||||||
os: linux
|
|
||||||
- go: "1.12.x"
|
|
||||||
os: linux
|
|
||||||
- go: "1.13.x"
|
- go: "1.13.x"
|
||||||
os: linux
|
os: linux
|
||||||
- go: "1.13.x"
|
- go: "1.13.x"
|
||||||
|
|||||||
@@ -72,9 +72,7 @@ func TestWire(t *testing.T) {
|
|||||||
for _, test := range tests {
|
for _, test := range tests {
|
||||||
test := test
|
test := test
|
||||||
t.Run(test.name, func(t *testing.T) {
|
t.Run(test.name, func(t *testing.T) {
|
||||||
// TODO(light): These tests should be parallelizable, but this causes
|
t.Parallel()
|
||||||
// intermittent failures. See https://github.com/google/wire/issues/66
|
|
||||||
// for details.
|
|
||||||
|
|
||||||
// Materialize a temporary GOPATH directory.
|
// Materialize a temporary GOPATH directory.
|
||||||
gopath, err := ioutil.TempDir("", "wire_test")
|
gopath, err := ioutil.TempDir("", "wire_test")
|
||||||
|
|||||||
Reference in New Issue
Block a user