From 6c3ce7a1541277cb6b819bdb3e4b5b6f679265cb Mon Sep 17 00:00:00 2001 From: Andrii Zavorotnii Date: Fri, 13 Dec 2019 15:06:56 -0800 Subject: [PATCH] Reduce TestQueryRowContextCancelParallel concurrency [why] Tests times out in travis-ci when run with -race option. --- sqlite3_go18_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlite3_go18_test.go b/sqlite3_go18_test.go index 3742079c..8b423562 100644 --- a/sqlite3_go18_test.go +++ b/sqlite3_go18_test.go @@ -229,7 +229,7 @@ func TestQueryRowContextCancelParallel(t *testing.T) { testCtx, cancel := context.WithCancel(context.Background()) defer cancel() - for i := 0; i < 50; i++ { + for i := 0; i < 10; i++ { wg.Add(1) go func() { defer wg.Done()