From 0cc6d204418056190bd0e5e886e482663f90c84f 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 338aac4b..e32758bb 100644 --- a/sqlite3_go18_test.go +++ b/sqlite3_go18_test.go @@ -274,7 +274,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()