Raul Ochoa
ae9daed43f
Better naming for imageBuffersAreSimilar
2016-02-22 16:02:15 +01:00
Raul Ochoa
5301e748de
Do not create intermediate files when there is no need
2016-02-22 16:00:30 +01:00
Raul Ochoa
37ae6b4fa0
Rely on mapnik.Image instead of compare from imagemagick
2016-02-22 15:38:29 +01:00
Raul Ochoa
842fa4dfd2
Create populated places private table for named maps + widgets
2016-02-19 17:48:19 +01:00
Raul Ochoa
b7fff960a2
Ignore CDB_ sql files downloaded for tests
2016-02-18 14:52:08 +01:00
Javier Goizueta
5b50e784cd
Merge branch 'master' into overviews-work
2016-02-09 17:14:08 +01:00
Raul Ochoa
d78e01b7a4
Extract getWidget to TestClient
2016-02-05 12:59:33 +01:00
Javier Goizueta
0a218da835
Implement an Overviews query rewriter
...
Use the Windshaft query-rewriter interface to adapt queries so
they use available overview tables.
This requires a version of Windshaft that implements the query-rewriter
interface (package.json/npm-shrinkwap.json have yet to be updated)
2016-02-04 10:26:31 +01:00
Raul Ochoa
81200b72b4
Merge branch 'master' into overviews-work
...
Conflicts:
test/acceptance/multilayer.js
2016-01-28 19:48:11 +01:00
Raul Ochoa
d6ecb8c793
Remove trailing whitespace
2016-01-28 19:44:25 +01:00
Javier Goizueta
5038ae6b1b
Fix data for overviews integration tests
2016-01-27 17:40:12 +01:00
Javier Goizueta
6dbb0cb1c1
Emulate new overview table naming schme in the tests
2016-01-26 15:08:55 +01:00
Javier Goizueta
ef9e9f8c78
Adapt to changes in CDB_Overviews SQL function
...
Now data for multiple tables is obtained in one call, simplifying the
use of this function. Also base table is returned as an oid, so we
now have the overview base table names with schema only when needed.
2016-01-26 11:38:21 +01:00
Javier Goizueta
1f6d5cfd6d
Fix signature of CDB_Overviews
2016-01-21 18:39:31 +01:00
Javier Goizueta
532654eea8
Add tests for the OverviewsApi
2016-01-21 13:33:45 +01:00
Javier Goizueta
528574c550
Add dummy CDB_Overviews SQL function for tests
2016-01-20 17:10:12 +01:00
Raul Ochoa
19216eaa88
Use create language instead of extension
2016-01-13 20:21:54 +01:00
Raul Ochoa
f33c3ce21a
rmdirRecursiveSync DRY
2015-09-25 19:56:28 +02:00
Raul Ochoa
4f4dab143e
Make tests to fail if unexpected keys are found in redis
...
Make test fail if they try to remove unexistent redis key
2015-09-25 19:23:33 +02:00
Raul Ochoa
be8c82870f
Add database id for found keys
2015-09-25 14:21:04 +02:00
Raul Ochoa
8495b223c6
Early return when no keys to delete
2015-09-25 14:09:14 +02:00
Raul Ochoa
807455eb3d
Force VACUUM ANALYZE in test table to stabilize test
2015-09-23 14:07:51 +02:00
Raul Ochoa
bbdc4591df
Adds methods to assert mapnik images
2015-09-23 13:04:08 +02:00
Raul Ochoa
d2df0b7c84
Configure log4js in test environment so it doesn't output by default
2015-09-18 16:59:45 +02:00
Raul Ochoa
f7b1032b7a
Do not fail for now if there are pending keys in redis
2015-09-17 18:24:12 +02:00
Raul Ochoa
1f9dd5fd8c
re-enable nock after every suite
2015-09-17 17:14:32 +02:00
Raul Ochoa
dd83c05a89
restore nock globally after each suite
2015-09-17 15:10:23 +02:00
Raul Ochoa
30cba053da
Check there is no unexepcted keys on redis after tests
2015-09-17 15:07:54 +02:00
Raul Ochoa
7fd870cfd2
Rewrite assert.response using request module
2015-09-17 02:06:46 +02:00
Raul Ochoa
f96c80d7a1
Merge branch 'master' into standalone-server
...
Conflicts:
lib/cartodb/cartodb_windshaft.js
2015-09-08 15:42:30 +02:00
Raul Ochoa
c409c146bf
Upgrade CDB_QueryTables to use latest version
2015-09-07 17:17:40 +02:00
Raul Ochoa
9355a5ca24
Tests for surrogate keys in layergroup anonymous instantiation
2015-07-13 16:54:08 +02:00
Raul Ochoa
f9554ec761
Re-enable render limits
2015-07-10 19:10:55 +02:00
Raul Ochoa
d071fe6d0c
Ports windshaft server unit tests
2015-07-08 00:12:32 +02:00
Raul Ochoa
d52b65470e
Ports acceptance tests from windshaft
2015-07-07 23:46:58 +02:00
Raul Ochoa
2d3f2667ca
Standalone server initial implementation
...
- no dependency over Windshaft.Server
2015-07-04 20:41:22 +02:00
Raul Ochoa
0df725112b
Update CDB_QueryTables function
2015-06-29 16:42:55 +02:00
Raul Ochoa
6ecebae110
Adds test to validate (once it is fixed) long table names do not fail
2015-06-18 16:29:59 +02:00
Raul Ochoa
85804f9854
Fixes jshint
2015-03-30 15:07:49 +02:00
Raul Ochoa
7df3658d41
Invalid json lzma test
2015-03-30 15:06:00 +02:00
Raul Ochoa
3012b99e15
Remove varnish emu
2015-03-24 10:39:23 +01:00
Raul Ochoa
f683e39aea
Remove api sql emulator
2015-03-24 10:38:14 +01:00
Raul Ochoa
2e577343d2
Update to latest CDB_QueryTables
2015-02-17 18:55:34 +01:00
Raul Ochoa
742a9744ea
Remove select permission for publicuser
2015-02-09 18:56:01 +01:00
Raul Ochoa
6eec5822f0
Create CREATE EXTENSION plpythonu for tests
2015-02-09 18:36:47 +01:00
Raul Ochoa
04af57cab9
Add some entries to cdb_tablemetadata for tables being used in tests
2015-02-09 14:38:59 +01:00
Raul Ochoa
673bd4f3f2
Add querytables and cdb_tablemetadata for proper testing its integration
2015-02-05 17:21:38 +01:00
Raul Ochoa
a82af16347
Adds a template test with http layer
2015-02-04 18:57:46 +01:00
Raul Ochoa
0abd6a2293
Adds check for surrogate key headers in template instances
...
p.s. it fixes instantiate template with params test
2015-01-23 17:02:13 +01:00
Raul Ochoa
9d36ae293c
Run check before any assert so server is stopped
2014-09-18 19:07:15 +02:00