Javier Goizueta
7cadbcc533
Fix tests, this time for good :fingers_crossed:
2018-07-11 16:47:10 +02:00
Javier Goizueta
d3a3a7353a
Fix tests
...
They were not numerical accuracy independent, as intended
2018-07-11 16:34:39 +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
Javier Goizueta
e17dd4b5fa
Make tests independent of coordinate accuracy by not placing points near tile boundaries
2018-07-11 13:19:07 +02:00
Raul Marin
8dcab568bd
Tests: Adapt torque tests to work with PROJ 5.1
2018-07-11 12:33:02 +02:00
Raul Marin
a0020804c9
Test (regressions.js): Remove all redis keys so tests can be run individually
2018-07-11 12:21:06 +02:00
Raul Marin
ea2126a301
Tests: Fix DB flags being ignored
2018-07-11 12:20:58 +02:00
Javier Goizueta
8442a9a711
Shorten long lines
2018-07-11 11:29:22 +02:00
Javier Goizueta
c07b3de43d
Adapt tests for more accurate PROJ
...
Fixes #994
With exact point 0,0 transformations, the point is between tiles and can appear in several
2018-07-11 10:33:58 +02:00
Eneko Lakasta
04c5b2aa36
Merge pull request #995 from CartoDB/14075-2buckets-bubble-legends
...
Use new version of turbo-carto 0.20.3
2018-07-09 16:23:35 +02:00
Rafa de la Torre
6411556a97
Test for histogram bins beyond limits
2018-07-04 18:33:02 +02:00
Eneko Lakasta
5d7af03228
remove .only from test
2018-07-03 16:20:09 +02:00
Eneko Lakasta
529368e858
Merge branch '984-sql-timeout-error-message' into 14075-2buckets-bubble-legends
2018-07-03 15:58:10 +02:00
Eneko Lakasta
fdc061b7ee
Please jshint
2018-07-03 15:02:58 +02:00
Eneko Lakasta
409a103990
update rate limit error message
2018-07-03 14:36:29 +02:00
Eneko Lakasta
6a6815d893
update render limits error message
2018-07-03 14:32:10 +02:00
Eneko Lakasta
37737e7941
Merge branch '984-sql-timeout-error-message' into 14075-2buckets-bubble-legends
2018-07-03 12:45:41 +02:00
Eneko Lakasta
a8d791e2d3
update tests with new error message
2018-07-02 13:03:01 +02:00
Eneko Lakasta
9226b67ab7
add tests
2018-06-29 15:03:45 +02:00
Simon Martín
1329f1f535
fix aggregation-dataview test filter
2018-06-28 12:41:52 +02:00
Simon Martín
66f38e8ecd
keep the original test name
2018-06-27 18:38:20 +02:00
Simon Martín
e45b41f55a
ensuring formula dataview filters infinities, nans and nulls
2018-06-27 18:04:48 +02:00
Simon Martín
37f6ac0c87
Merge branch 'master' into tilejson-url-apikey
2018-06-26 10:23:09 +02:00
Simon Martín
32ce033c06
improve tests titles
2018-06-25 15:09:18 +02:00
Simon Martín
abb194ca9c
test tiles base urls with default_public api key
2018-06-25 15:06:27 +02:00
Simon Martín
f0d190d157
tests tiles base urls with api key
2018-06-22 17:31:05 +02:00
Javier Goizueta
b05d9a0a75
Remove only from tests
2018-06-18 13:33:08 +02:00
Javier Goizueta
a5f985257c
Tests for dates_as_numbers with tokens
2018-06-18 13:14:17 +02:00
Javier Goizueta
90efe14bfb
Merge pull request #971 from CartoDB/cartovl-130
...
Send dates as unix epoch instead strings in .mvt files
2018-06-13 13:07:35 +02:00
Javier Goizueta
251570b638
Fix tests
2018-06-12 12:04:13 +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
Javier Goizueta
5407df03fa
Implement missing tests
2018-06-11 19:31:15 +02:00
Javier Goizueta
84c34361a0
Fix loop limits, add per layer options in test mapconfig Factory
2018-06-11 19:30:48 +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
102244f467
Regression: Accept layer option in the static map urls
2018-06-07 12:14:31 +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
Javier Goizueta
5b637577c8
Fix conflict resolution gone wrong
2018-06-05 16:30:27 +02:00
Javier Goizueta
0258051f06
Merge branch 'cartovl-130' of github.com:CartoDB/Windshaft-cartodb into cartovl-130
...
# Conflicts:
# test/acceptance/date-wrapping.spec.js
2018-06-05 15:43:13 +02:00
Javier Goizueta
2ab22882d6
Slight code trimming
2018-06-05 15:39:15 +02:00
IagoLast
e8ecd9b2e0
Fix new test
2018-06-05 11:44:30 +02:00
Javier Goizueta
b10cf4bebb
New test for casted dates metadata
2018-06-05 11:25:00 +02:00
IagoLast
1491f29f96
Fix tests
2018-06-05 10:10:56 +02:00
IagoLast
9f4b6d5f43
Fix linter
2018-06-05 09:57:48 +02:00
IagoLast
7df1a19da4
Add test for multiple-layer date wrap
2018-06-05 08:58:44 +02:00
Ubuntu
ae4b233458
Pass tests
2018-06-01 10:18:07 +00:00
Ubuntu
6872d57581
Add tests
2018-06-01 10:08:34 +00:00
Eneko Lakasta
6414cd52c0
Merge branch 'master' into remove-auth-fallback
2018-05-30 17:53:24 +02:00
Javier Goizueta
34a2f3b32b
Tests were missing in previous commit
2018-05-28 16:50:53 +02:00
Daniel García Aubert
46bb400ffd
Cast x-windshaft-cache header in order to fix assertions
2018-05-28 10:46:04 +02:00
Javier Goizueta
22a0f2c14e
Merge branch 'master' into metadata-categories
2018-05-23 11:17:10 +02:00
Daniel García Aubert
54601db44a
Remove test runner filter
2018-05-22 19:41:20 +02:00
Daniel García Aubert
4701decfcd
No need to drain test-client
2018-05-22 19:37:46 +02:00
Daniel García Aubert
cc81c8ff4c
Only test user database timeout against Postgis Renderer if available (Postgis >= 2.4)
2018-05-22 19:22:08 +02:00
Daniel García Aubert
8febc78d0e
Do not test against Postgis renderer because it does not implement renderer timeout option
2018-05-22 19:20:37 +02:00
Daniel García Aubert
87838bd4ce
Override cache buster in order to not hit any internal cache
2018-05-22 18:28:57 +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
Daniel García Aubert
ef36466b3b
Fix test to use the right helper function to set the user render timeout
2018-05-22 18:19:41 +02:00
Javier Goizueta
7041039572
Add tests for category metadata parameters
2018-05-22 13:42:29 +02:00
Javier Goizueta
befedfd80a
Use ifError to check for errors
2018-05-21 17:03:16 +02:00
Javier Goizueta
d828a92ea3
Use ifError to check for errors
2018-05-21 16:59:36 +02:00
Javier Goizueta
8e8458e557
Merge branch 'master' into metadata
2018-05-18 20:49:26 +02:00
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
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
6c466d13ff
Typo
2018-04-17 11:36:33 +02:00
Daniel García Aubert
2ff410946a
Add test to check that the regexp validates just digits
2018-04-17 11:20:15 +02:00
Daniel García Aubert
da3939239f
Fix test assertions
2018-04-17 11:10:34 +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