Skip to content

Business intelligence made simple

Improved Presto test [skip ci]

Andrew Kane80f53323a79b
diff --git a/test/adapters/presto_test.rb b/test/adapters/presto_test.rb
index 03317ee6..971fb403 100644
--- a/test/adapters/presto_test.rb
+++ b/test/adapters/presto_test.rb
@@ -6,4 +6,10 @@ class PrestoTest < ActionDispatch::IntegrationTest
def data_source
"presto"
end
+
+ # TODO fix test_tables
+
+ def test_run
+ assert_result [{"hello" => "world"}], "SELECT 'world' AS hello"
+ end
end
diff --git a/test/internal/config/blazer.yml b/test/internal/config/blazer.yml
index 1c36f646..06fd7d44 100644
--- a/test/internal/config/blazer.yml
+++ b/test/internal/config/blazer.yml
@@ -83,7 +83,7 @@ data_sources:
url: postgres://localhost/blazer_test
presto:
- url: presto://localhost:8080/blazer_test
+ url: presto://user@localhost:8080/jmx
redshift:
url: redshift://localhost:5439/blazer_test