Commit Graph
1256 Commits
Author SHA1 Message Date
Javier Goizueta 391ac51f0f Implement metadata queries with plain Promises
Remove usage of PhasedExecution
This achives better query execution granularity and
removes questionable usage of shared results object.
It introduces a couple of behavior changes:
* estimatedFeatureCount desn't ignore errors now
* sample always uses estimatedFeatureCount,even if the actual count is also computed.
2018-05-18 15:33:07 +02:00
Simon Martín 81bace1dca Merge branch 'master' into fix-dataview-typeof 2018-05-17 12:13:11 +02:00
Simon Martín 04e00bb834 Merge branch 'master' into fix-image-format-png 2018-05-16 14:40:59 +02:00
Daniel García Aubert 63a9d58c67 Add regression test 2018-05-14 12:28:57 +02:00
Javier Goizueta b8109401d1 Tests for metadata with aggregation 2018-05-13 13:05:39 +02:00
Javier Goizueta 24b1b53ba0 Merge branch 'master' into metadata 2018-05-11 18:58:38 +02:00
Simon Martín db7b4fa937 static image format tests 2018-05-11 17:41:26 +02:00
Javier Goizueta cae4dd81c9 WIP: fix problems for aggregations & metadata 2018-05-10 19:12:47 +02:00
Simon Martín 99516f5a75 fix tests and jshint happy 2018-05-10 18:35:52 +02:00
Simon Martín 37a2e89c81 testing expected result with pg_typeof undefined 2018-05-10 18:34:18 +02:00
Simon Martín ed837fbf22 improving tests raising the pg_typeof error 2018-05-10 17:25:02 +02:00
Simon Martín 913b29070f tests raising pg_typeof error 2018-05-10 15:59:38 +02:00
Javier Goizueta f7745928ab Fix tests
eliminate dependency on the order of PostgreSQL results
2018-05-09 15:42:41 +02:00
Daniel García Aubert 976ee35a35 Use new routes configuration schema in ported test 2018-05-09 15:24:33 +02:00
Javier Goizueta ee7bd5fb8a Fix tests 2018-05-09 12:42:42 +02:00
Javier Goizueta fff5b3d85a Revert debugging changes 2018-05-09 11:59:24 +02:00
Javier Goizueta d706d0eb22 More travis debugging through commits 2018-05-09 11:44:49 +02:00
Javier Goizueta 9c9cfd015d Add test for optional layer metadata 2018-05-08 20:06:14 +02:00
Eneko Lakasta f60993b042 re-organize no api key token provided tests - explain tests 2018-05-08 14:41:16 +02:00
Eneko Lakasta 1005126a5f re-organize no api key token provided tests 2018-05-08 14:32:44 +02:00
Eneko Lakasta 0536d0abcb add test to check that the fallback api key used if none is sent, is the default public 2018-05-08 11:32:45 +02:00
Eneko Lakasta f111ddf449 use matching cartodb-redis branch and run all tests 2018-05-07 16:07:28 +02:00
Eneko Lakasta 534c827904 remove auth fallback 2018-05-07 15:44:44 +02:00
Daniel García Aubert 9d1d5c439b Merge branch 'separate-routers' into improve-folder-structure 2018-04-18 17:08:11 +02:00
Daniel García Aubert be5e419288 Merge branch 'separate-app-and-controllers-creation' into separate-routers 2018-04-18 17:06:53 +02:00
Daniel García Aubert 8afe6c5228 Merge branch 'master' into separate-app-and-controllers-creation 2018-04-18 17:05:27 +02:00
Daniel G. Aubert 20b46a33cf Merge pull request #944 from CartoDB/improve-test-suite
Improve test suite
2018-04-18 16:58:52 +02:00
Daniel García Aubert 1694b4b3a6 Merge branch 'separate-routers' into improve-folder-structure 2018-04-17 16:07:47 +02:00
Daniel García Aubert 5b1b78d386 Merge branch 'separate-app-and-controllers-creation' into separate-routers 2018-04-17 15:56:33 +02:00
Daniel García Aubert 9c249596c0 Merge branch 'master' into separate-app-and-controllers-creation 2018-04-17 15:55:38 +02:00
Simon Martín adefbb3365 query with template string 2018-04-17 11:05:37 +02:00
Daniel García Aubert 7012c6e77a Test: Let the OS to choose a random free port to make the tiler listen at it 2018-04-17 10:44:44 +02:00
Raul Marin ad4cd2067b JShint fix 2018-04-17 10:39:39 +02:00
Raul Marin 8d6a406779 Merge remote-tracking branch 'carto/master' into mvt-invalid-props 2018-04-17 10:25:05 +02:00
Daniel García Aubert 817afb13d1 Use mocha hooks to create server just before perform the test 2018-04-16 16:16:23 +02:00
Daniel García Aubert 98f29f945b Create application server inside of describes instead of at module level 2018-04-16 14:09:24 +02:00
Eneko Lakasta 35459b7332 Merge pull request #938 from CartoDB/named-map-auth-tests
Named map auth tests
2018-04-13 12:56:49 +02:00
Daniel García Aubert 89cc9ad27d Merge branch 'master' into regression-test-named-map-dataview-filter 2018-04-12 20:53:27 +02:00
Daniel García Aubert d8a5dc586d Add test to check dataview filters when instantiating a named map 2018-04-12 19:58:33 +02:00
Daniel García Aubert 1df7df21d5 Revert removed line 2018-04-12 18:31:22 +02:00
Daniel García Aubert 53a40de2e7 Use another table 2018-04-12 18:24:00 +02:00
Eneko Lakasta d1ba4a1759 remove unnecessary test 2018-04-12 17:41:07 +02:00
Daniel García Aubert 6437e2ec67 Add test to check regression when cache buster during instantiation is not updated 2018-04-12 16:32:44 +02:00
Eneko Lakasta 31e3b9953f add named maps GET auth tests 2018-04-12 16:22:56 +02:00
Eneko Lakasta f5bdb8b15b add named maps Update auth tests 2018-04-12 16:03:02 +02:00
Eneko Lakasta fbcf312071 add named maps Delete auth tests 2018-04-12 14:46:08 +02:00
Eneko Lakasta 9a7a8a3243 add named maps Create auth tests 2018-04-12 12:43:41 +02:00
Simon Martín fc36950c1d fix errored value in test 2018-04-12 11:27:31 +02:00
Simon Martín b4ca44f096 Merge branch 'mvt-invalid-props' of github.com:CartoDB/Windshaft-cartodb into mvt-invalid-props 2018-04-12 10:46:45 +02:00
Simon Martín 4978dd86ac simply cases of mvt property type changes 2018-04-12 10:46:21 +02:00