attempt to get this to crash on CircleCI
diff --git a/zstd_stream_test.go b/zstd_stream_test.go index 949bc88..8e9c278 100644 --- a/zstd_stream_test.go +++ b/zstd_stream_test.go
@@ -7,6 +7,7 @@ "io" "io/ioutil" "log" + "runtime" "runtime/debug" "testing" ) @@ -138,8 +139,10 @@ } func TestStreamCompressionDecompressionParallel(t *testing.T) { + t.Logf("GoMaxProcs=%d NumCPU=%d", runtime.GOMAXPROCS(0), runtime.NumCPU()) + // start 100 goroutines: triggered Cgo stack growth related bugs - const threads = 100 + const threads = 500 errChan := make(chan error) for i := 0; i < threads; i++ {