From fa8a93b4e7670cc756779268646296fb89fbeae2 Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Sat, 7 Dec 2019 23:29:44 +0100 Subject: [PATCH] cgo: don't run tests in parallel Since LLVM 9, CGo sometimes randomly breaks with weird error messages on Windows. I'm not sure why this is the case, but it might be related to concurrency. Disable concurrency for now, and hope that will make the errors go away. --- cgo/cgo_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/cgo/cgo_test.go b/cgo/cgo_test.go index 65ac1495..d057584c 100644 --- a/cgo/cgo_test.go +++ b/cgo/cgo_test.go @@ -25,8 +25,6 @@ func TestCGo(t *testing.T) { for _, name := range []string{"basic", "errors", "types", "flags"} { name := name // avoid a race condition t.Run(name, func(t *testing.T) { - t.Parallel() - // Read the AST in memory. path := filepath.Join("testdata", name+".go") fset := token.NewFileSet()