Raúl Marín
3c586caba4
Qualify calls to cartodb extension so having it in the search_path isn't necessary
2019-11-12 13:15:32 +01:00
Daniel G. Aubert
c82f17e5d2
Merge pull request #1126 from CartoDB/gears
...
Be able to inject middlewares from configuration
2019-10-07 17:35:01 +02:00
Raul Marin
69b11a8412
sec
2019-10-07 13:36:18 +02:00
Daniel García Aubert
98f3e8159e
Stop using __dirname in requires
2019-10-07 10:55:26 +02:00
Daniel García Aubert
f1de1b3b91
Rename test files: stop using underscores, use hyphens instead
2019-10-07 10:44:45 +02:00
Daniel García Aubert
a134ab3012
Rename server_options -> server-options
2019-10-07 10:10:51 +02:00
Daniel García Aubert
3acaac5403
Rename icu_data_env_setter -> icu-data-env-setter
2019-10-07 10:04:39 +02:00
Daniel García Aubert
281a079a62
Simplify folder structure
2019-10-07 09:40:50 +02:00
Raul Marin
9f2b5330d5
Install the cartodb extension directly
2019-06-03 16:23:41 +02:00
Raul Marin
9a552a7cc4
Adapt to fully qualification in the extension
2019-06-03 13:41:22 +02:00
Mario de Frutos Dieguez
022e6a2f89
Tests using PG11 and Postgis 2.5 ( #1093 )
2019-04-10 13:06:39 +02:00
Raul Marin
ae59c4f996
Merge remote-tracking branch 'blessed/master' into 1073-aggregation-false
2019-03-14 17:01:07 +01:00
Javier Goizueta
c5f5f43ccb
Fix test for disabling aggregations
...
See #1073
2019-03-05 22:17:04 +01:00
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