Skip to content

Commit

Permalink
NO-SNOW Add more logging to TestLargeSetResultCancel
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-pfus committed Dec 2, 2024
1 parent 171ddf2 commit 4f87d63
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1577,6 +1577,9 @@ func TestTimezoneSessionParameter(t *testing.T) {
}

func TestLargeSetResultCancel(t *testing.T) {
level := logger.GetLogLevel()
logger.SetLogLevel("debug")

Check failure on line 1581 in driver_test.go

View workflow job for this annotation

GitHub Actions / Check linter

Error return value of `logger.SetLogLevel` is not checked (errcheck)
defer logger.SetLogLevel(level)

Check failure on line 1582 in driver_test.go

View workflow job for this annotation

GitHub Actions / Check linter

Error return value of `logger.SetLogLevel` is not checked (errcheck)
runDBTest(t, func(dbt *DBTest) {
c := make(chan error)
ctx, cancel := context.WithCancel(context.Background())
Expand Down

0 comments on commit 4f87d63

Please sign in to comment.