[postgis-tickets] r15320 - Disable test that is too PG version specific

bjorn at wololo.org bjorn at wololo.org
Tue Feb 28 12:39:07 PST 2017


Author: bjornharrtell
Date: 2017-02-28 12:39:07 -0800 (Tue, 28 Feb 2017)
New Revision: 15320

Modified:
   trunk/regress/mvt.sql
   trunk/regress/mvt_expected
Log:
Disable test that is too PG version specific
Fixes #3722

Modified: trunk/regress/mvt.sql
===================================================================
--- trunk/regress/mvt.sql	2017-02-27 13:58:32 UTC (rev 15319)
+++ trunk/regress/mvt.sql	2017-02-28 20:39:07 UTC (rev 15320)
@@ -64,10 +64,11 @@
     ST_GeomFromText('POINT(25 17)') AS geom) AS q;
 
 -- unsupported input
-SELECT 'TU1';
-SELECT encode(ST_AsMVT('test',
-    ST_MakeBox2D(ST_Point(0, 0), ST_Point(4096, 4096)), 4096, 0, false, 'geom', NULL
-), 'base64');
+-- NOTE: disabled test as it's dependant on PostgreSQL error text that cannot be expected to be stable
+--SELECT 'TU1';
+--SELECT encode(ST_AsMVT('test',
+--    ST_MakeBox2D(ST_Point(0, 0), ST_Point(4096, 4096)), 4096, 0, false, 'geom', NULL
+--), 'base64');
 SELECT 'TU2';
 SELECT encode(ST_AsMVT('test',
     ST_MakeBox2D(ST_Point(0, 0), ST_Point(4096, 4096)), 4096, 0, false, 'geom', 1

Modified: trunk/regress/mvt_expected
===================================================================
--- trunk/regress/mvt_expected	2017-02-27 13:58:32 UTC (rev 15319)
+++ trunk/regress/mvt_expected	2017-02-28 20:39:07 UTC (rev 15320)
@@ -14,8 +14,6 @@
 TA4|GjAKBHRlc3QSDBICAAAYASIECTLePxIMEgIAARgBIgQJMt4/GgJjMSICKAEiAigCeAI=
 TA5|GiwKBHRlc3QSDhIEAAABARgBIgQJMt4/GgJjMRoCYzIiAigBIgYKBGFiY2R4Ag==
 TA6|GigKBHRlc3QSDhIEAAABARgBIgQJMt4/GgJjMRoCYzIiAigBIgIwAXgC
-TU1
-ERROR:  could not determine polymorphic type because input has type "unknown"
 TU2
 ERROR:  pgis_asmvt_transfn: parameter row cannot be other than a rowtype
 TU3



More information about the postgis-tickets mailing list