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 Feb 25, 2020
1 parent c5807c9 commit 5c1abba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlite3_go18_test.go
Expand Up @@ -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()
Expand Down

0 comments on commit 5c1abba

Please sign in to comment.