Skip to content

Commit 58c35d4

Browse files
authored
NO-SNOW Fix TestCancelQuery (#1226)
1 parent e9c6704 commit 58c35d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1487,7 +1487,7 @@ func TestCancelQuery(t *testing.T) {
14871487
ctx, cancel := context.WithTimeout(context.Background(), 2*time.Second)
14881488
defer cancel()
14891489

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

0 commit comments

Comments
 (0)