Daniel García Aubert
77d5d8ebd4
Be able to aggregate by a field
2019-03-01 11:21:18 +01:00
Daniel García Aubert
561be2e5e8
Add tests
2019-02-27 12:43:26 +01:00
Daniel García Aubert
c3df075d91
Draft
2019-02-26 19:19:44 +01:00
Daniel García Aubert
5f43db2e36
Remove POSTGIS_VERSION env variable and run test using mvt renderer always
2019-02-22 08:31:22 +01:00
Daniel García Aubert
47576358a2
Remove hack of stripping PARALLEL labels for PG releases before 9.6
2019-02-22 07:52:39 +01:00
Daniel García Aubert
d5af1bd9a2
Implement tests to check the limit error is the expected one
2019-01-30 15:15:07 +01:00
Daniel García Aubert
f3b1bb742a
Ensure all pg connections are being refreshed
2018-11-06 12:17:39 +01:00
Daniel García Aubert
af4b9f57f5
Skip just torque database timeout limit
2018-11-05 19:10:08 +01:00
Daniel García Aubert
40ccdfd9b3
Drain pool connection before
2018-11-05 18:37:20 +01:00
Daniel García Aubert
659b0ba889
Use pdql.end with callback
2018-11-05 18:14:26 +01:00
Daniel García Aubert
71b8699f47
Shut down the pool after setting the database timeout
2018-11-05 17:16:22 +01:00
Daniel García Aubert
24c5bbb182
Workaround to drain pg pool effectively
2018-11-05 16:50:52 +01:00
Daniel García Aubert
e2d27db828
Ise strict mode for moduler under test folder
2018-10-23 18:39:02 +02:00
Eneko Lakasta
c9d50c412d
add tests for dataviews
2018-08-29 18:00:13 +02:00
Javier Goizueta
b5a0c6505a
Merge pull request #998 from CartoDB/994-aggr-tests
...
Adapt tests for more accurate PROJ
2018-07-11 17:23:02 +02:00
Javier Goizueta
b8365e9f6e
Make sampling tests more stable
...
Some sample tests, which cannot use RNG seeding, are nondeterministical.
Increment size of test table used in sampling tests to make less likely that the sample is empty
2018-07-11 15:21:23 +02:00
Raul Marin
ea2126a301
Tests: Fix DB flags being ignored
2018-07-11 12:20:58 +02:00
Raúl Marín
7e7b268a66
Merge pull request #976 from Algunenano/auto_postgis
...
Test: Make POSTGIS_VERSION detection automatic
2018-06-12 10:09:40 +02:00
Raul Marin
50cf5e5c7a
Avoid infinite loop
2018-06-11 16:01:29 +02:00
Raul Marin
9bbbe9e7c1
Make POSTGIS_VERSION detection automatic
2018-06-11 14:47:39 +02:00
Eneko Lakasta
7f7eb78d8c
Merge branch 'master' into remove-auth-fallback
2018-06-11 12:02:58 +02:00
Raul Marin
db946b93ec
Test: Use cartodb-psql to reset connections instead of calling node-postgres directly
...
- Avoids an issue with newer npm not finding node-postgres during the tests
as it was required directly but not declared in package.json.
- Avoids an issue with the torque timeouts tests
2018-06-06 13:18:28 +02:00
Eneko Lakasta
6414cd52c0
Merge branch 'master' into remove-auth-fallback
2018-05-30 17:53:24 +02:00
Daniel García Aubert
dfc354550c
Add method to override cache buster provided by server while fetching tiles and static images
2018-05-22 18:27:50 +02:00
Eneko Lakasta
534c827904
remove auth fallback
2018-05-07 15:44:44 +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
Raul Marin
45adaf5dc2
Merge remote-tracking branch 'blessed/master' into mvt-invalid-props
2018-04-17 12:08:57 +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
8d6a406779
Merge remote-tracking branch 'carto/master' into mvt-invalid-props
2018-04-17 10:25:05 +02:00
Daniel García Aubert
d5c591317b
Add coordinates validation to specific endpoints
2018-04-16 18:55:42 +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
53a40de2e7
Use another table
2018-04-12 18:24:00 +02:00
Eneko Lakasta
940cafacac
add newline add EOF
2018-04-12 17:51:33 +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
Raul Ochoa
67411e32ff
Validate property with strict check and use full table
...
It seems related to using the full table. The geometry column is a
simplified to reduce the file size, it uses the envelope of the original
geometries.
2018-04-11 11:40:55 +00:00
Raul Ochoa
f2ab33b498
Add regression test for invalid MVT properties
2018-04-11 10:03:06 +00:00
Daniel García Aubert
25aa967146
Forbid access to named map admin resources for everyone but master
2018-04-06 15:26:11 +02:00
Raul Ochoa
f4d7148f66
Include shared objects for both, mac and linux, OS
2018-03-26 17:52:32 +02:00
Daniel García Aubert
fdd4c4aaa0
Going red: get default named map vector tile
2018-03-02 18:22:53 +01:00
Eneko Lakasta
890f0d1ef6
add fallback for using metadata fallback
2018-02-14 17:31:05 +01:00
Eneko Lakasta
04f60baec5
Set the master role inheritance from regular roles as TBA
2018-02-08 19:01:58 +01:00
Eneko Lakasta
a8de436424
add test should create a layergroup with a buffer analysis using a regular apikey token AND grant privileges to master and regular roles in bootstraping sql
2018-02-08 18:54:14 +01:00
Eneko Lakasta
455202cd1a
organize prepare db api keys
2018-02-08 14:49:42 +01:00
Eneko Lakasta
e1a2ee2381
control API access grants
2018-02-08 13:07:25 +01:00