wire: serialize test execution (google/go-cloud#704)

This commit is contained in:
Ross Light
2018-11-14 15:32:34 -08:00
parent 6ca3ea0efe
commit 3488a41780

View File

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