wire: serialize test execution (google/go-cloud#704)
This commit is contained in:
@@ -72,7 +72,9 @@ 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) {
|
||||||
t.Parallel()
|
// TODO(light): These tests should be parallelizable, but this causes
|
||||||
|
// intermittent failures. See https://github.com/google/go-cloud/issues/669
|
||||||
|
// 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