Skip to content

Commit

Permalink
Reduce TestQueryRowContextCancelParallel concurrency
Browse files Browse the repository at this point in the history
[why]
Tests times out in travis-ci when run with -race option.
  • Loading branch information
azavorotnii committed Dec 13, 2019
1 parent 0d76856 commit 04a819e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlite3_go18_test.go
Expand Up @@ -236,7 +236,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()
Expand Down

0 comments on commit 04a819e

Please sign in to comment.