Skip to content

Commit

Permalink
NO-SNOW Fix TestCancelQuery
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-pfus committed Oct 23, 2024
1 parent b299730 commit 020591a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1487,7 +1487,7 @@ func TestCancelQuery(t *testing.T) {
ctx, cancel := context.WithTimeout(context.Background(), 2*time.Second)
defer cancel()

_, err := dbt.conn.QueryContext(ctx, "SELECT DISTINCT 1 FROM TABLE(GENERATOR(TIMELIMIT=> 100))")
_, err := dbt.conn.QueryContext(ctx, "CALL SYSTEM$WAIT(10, 'SECONDS')")
if err == nil {
dbt.Fatal("No timeout error returned")
}
Expand Down

0 comments on commit 020591a

Please sign in to comment.