Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Fix postgres test (#76277)

Alexander Polyankin59637becb14f
diff --git a/test/metabase/driver/postgres_test.clj b/test/metabase/driver/postgres_test.clj
index 18cd5dbaa37..94e4c38252b 100644
--- a/test/metabase/driver/postgres_test.clj
+++ b/test/metabase/driver/postgres_test.clj
@@ -2522,7 +2522,7 @@
(deftest ^:synchronized reducible-query-streams-large-result-set-test
(testing "reducible-query streams large result sets via a server-side cursor (autoCommit=false)"
- (mt/test-driver *driver*
+ (mt/test-driver :postgres
;; A 2.1-billion-row generate_series in the SELECT list streams row-by-row (no server-side materialization).
;; Pulling just the first few is fast ONLY if reducible-query streams (a cursor) and stops early; without
;; streaming the JDBC driver buffers the whole ResultSet (~2.1B rows) and OOMs at any heap size.