Skip to content

Commit

Permalink
fix lint suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-ext-simba-jl committed Jan 8, 2024
1 parent 2a7c7ff commit 725331a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions async_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ func TestLongRunningAsyncQuery(t *testing.T) {
}
}

func runLongRunningAsyncQuery(t *testing.T, ctx context.Context) {
func runLongRunningAsyncQuery(ctx context.Context, t *testing.T) {
runDBTest(t, func(dbt *DBTest) {
_ = dbt.mustQueryContext(ctx, "CALL SYSTEM$WAIT(100, 'SECONDS')")
})
Expand All @@ -215,7 +215,7 @@ func TestLongRunningAsyncQueryFetchResultByID(t *testing.T) {
}(goRoutineChan, queryIDChan)

// Run a long running query asynchronously
go runLongRunningAsyncQuery(t, ctx)
go runLongRunningAsyncQuery(ctx, t)

// Get the query ID without waiting for the query to finish
queryID := <-goRoutineChan
Expand Down

0 comments on commit 725331a

Please sign in to comment.