From 0a0f2e294bcac924bac02e726aad99cfe1f0325c Mon Sep 17 00:00:00 2001 From: Javier Goizueta Date: Thu, 15 Feb 2018 10:27:19 +0100 Subject: [PATCH] Fix tests --- test/CDB_HexagonTest.sql | 3 +++ test/CDB_HexagonTest_expect | 2 +- test/CDB_RectangleTest.sql | 3 +++ test/CDB_RectangleTest_expect | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/test/CDB_HexagonTest.sql b/test/CDB_HexagonTest.sql index 156a916..038540d 100644 --- a/test/CDB_HexagonTest.sql +++ b/test/CDB_HexagonTest.sql @@ -1,3 +1,6 @@ +set client_min_messages to error; +\set VERBOSITY TERSE + -- Check correctness of an hexagons grid -- -- Cells must have no overlaps and have a number of diff --git a/test/CDB_HexagonTest_expect b/test/CDB_HexagonTest_expect index a6b6133..42c7fec 100644 --- a/test/CDB_HexagonTest_expect +++ b/test/CDB_HexagonTest_expect @@ -1,5 +1,5 @@ +SET 9|63|count / npoints #160|t 3886 ERROR: The requested grid is too big to be rendered -CONTEXT: PL/pgSQL function cdb_hexagongrid(geometry,double precision,geometry,integer) line 80 at RAISE diff --git a/test/CDB_RectangleTest.sql b/test/CDB_RectangleTest.sql index 76ec66e..a16b7fa 100644 --- a/test/CDB_RectangleTest.sql +++ b/test/CDB_RectangleTest.sql @@ -1,3 +1,6 @@ +set client_min_messages to error; +\set VERBOSITY TERSE + -- Check small grids are generated... SELECT COUNT(*) FROM cartodb.CDB_RectangleGrid(ST_MakeEnvelope(0,0,1000,1000,3857), 10, 10); diff --git a/test/CDB_RectangleTest_expect b/test/CDB_RectangleTest_expect index b2de4df..cc1c961 100644 --- a/test/CDB_RectangleTest_expect +++ b/test/CDB_RectangleTest_expect @@ -1,3 +1,3 @@ +SET 10000 ERROR: The requested grid is too big to be rendered -CONTEXT: PL/pgSQL function cdb_rectanglegrid(geometry,double precision,double precision,geometry,integer) line 64 at RAISE