Commit Graph

1431 Commits

Author SHA1 Message Date
Javier Goizueta
9ed39f149b Time dimension tests 2018-10-07 22:46:02 +02:00
Javier Goizueta
0e85aa56da Fix test 2018-10-07 11:35:28 +02:00
Javier Goizueta
2f59919f84 Dimension metadata test 2018-10-07 00:29:12 +02:00
Javier Goizueta
fbcfc7a582 WIP: time dimensions for aggregation 2018-09-20 21:12:54 +02:00
Javier Goizueta
6ba9e50da7 Minor tests refactor 2018-09-13 08:54:59 +02:00
Javier Goizueta
5d813b6e43 Add more tests for aggregation accuracy
Some tests are skipped for Mapnik MVTs, because its bbox filtering isn't accurate
2018-09-12 19:26:09 +02:00
Javier Goizueta
acf0b082b4 Perform some tests for all placements
The "only the_geom" and other aggregation tests were perform only for default aggregation.
2018-09-12 11:25:21 +02:00
Raúl Marín
fb6987e91a
Merge pull request #1027 from CartoDB/carto_mvt_extent
Update Windshaft to 4.9.0
2018-09-05 13:30:12 +02:00
Eneko Lakasta
564884797d add tests to check that flags for non overviews instantiation are correct 2018-09-05 12:39:51 +02:00
Eneko Lakasta
d72a5075b9 move overviews flags in named map instantiation checks to its own specific tests 2018-09-05 11:48:21 +02:00
Eneko Lakasta
880ef63720 add to logs named maps overviews instantiation 2018-09-04 16:21:20 +02:00
Eneko Lakasta
b75150e91e set mapType in the controller instead of in the adapter 2018-09-04 16:20:38 +02:00
Eneko Lakasta
7df0fb456b add to log anonymous maps instantiations that use overviews tables
Added to tiler profiler object:

overviewsAddedToMapconfig: true
mapType: 'anonymous'
2018-09-04 15:13:17 +02:00
Eneko Lakasta
95d179835c add to logs even if no overviews tables were used.
{usesOverviews:false}
2018-08-30 14:52:37 +02:00
Eneko Lakasta
7c52f504e5 add dataview type to overviews logs 2018-08-30 14:30:03 +02:00
Raul Marin
57258a9cd3 MVT (pg-mvt): Remove tests related to removed functionality 2018-09-03 14:59:20 +02:00
Eneko Lakasta
c9d50c412d add tests for dataviews 2018-08-29 18:00:13 +02:00
Jesús Arroyo Torrens
31263b7b22 Add unit test 2018-08-16 14:15:28 +02:00
Jesús Arroyo Torrens
14cf3c1093 Fix typo 2018-08-16 12:16:20 +02:00
Javier Goizueta
fcfa763890
Merge pull request #1002 from CartoDB/aggregation-fixes
Aggregation fixes
2018-07-18 11:54:13 +02:00
Raul Marin
cd31f998dd Tests: Use "UNION ALL" instead of "UNION" to improve performance 2018-07-17 12:43:50 +02:00
Javier Goizueta
51c3215137 Change UNION by UNION ALL in tests
It seems UNION (without ALL) can be much slower in recent PG versions
2018-07-17 12:42:33 +02:00
Javier Goizueta
e5d4369203 Fix test 2018-07-16 14:59:26 +02:00
Javier Goizueta
e1ec38446d Add aggregation test with buffer overlapping cells partially
Also fix resolution parameter incrrectly placed in some tests
2018-07-16 14:27:39 +02:00
Javier Goizueta
2d102c4810 Compensate for bbox lack of accuracy 2018-07-16 12:44:30 +02:00
Javier Goizueta
e59d0f520a Restore tests 2018-07-16 12:02:37 +02:00
Javier Goizueta
2063ac15ee Fix long lines 2018-07-16 11:58:56 +02:00
Javier Goizueta
92ef0a60fc Test aggregation accuracy
This tests #1001
2018-07-15 22:17:00 +02:00
Javier Goizueta
e21ab12e4c Test that tiles do not contain partially aggregated clusters
This tests #889
2018-07-15 22:15:57 +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
9cbcd43fda Fix another test 2018-07-11 16:56:37 +02:00
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