]> Cypherpunks repositories - gostls13.git/commit
database/sql: de-flake TestTxCannotCommitAfterRollback
authorDaniel Theophanes <kardianos@gmail.com>
Wed, 22 Apr 2020 19:45:44 +0000 (12:45 -0700)
committerDaniel Theophanes <kardianos@gmail.com>
Wed, 22 Apr 2020 22:10:09 +0000 (22:10 +0000)
commited7888aea6021e25b0ea58bcad3f26da2b139432
tree1d4eada04baba1a60fc98fdd34d7bdd85dc84034
parent9a93baf4d7d13d7d5c67388c93960d78abc8e11e
database/sql: de-flake TestTxCannotCommitAfterRollback

Do not cancel rows during test. Only cancel the Tx.
Correct the referenced issue number on the test.

Fixes #38597

Change-Id: I0e8ba1bf2a8ba638d121c9c6938501fec1d5e961
Reviewed-on: https://go-review.googlesource.com/c/go/+/229478
Run-TryBot: Daniel Theophanes <kardianos@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/database/sql/sql.go
src/database/sql/sql_test.go