Commit Graph

626 Commits

Author SHA1 Message Date
Simon Martín
c351360085 ensuring job_id on jobBackend.create and updating test 2018-02-12 10:39:58 +01:00
Simon Martín
dd07a21c98 unsubscribe on batch publisher test 2018-02-08 17:59:28 +01:00
Simon Martín
6e45c39b1f Merge branch 'master' into pythonTimeout 2018-01-08 11:29:17 +01:00
Simon Martín
47b6ae65f5 test escape chars function 2017-12-18 12:46:03 +01:00
Simon Martín
3fa09a007e line at EOF and better comment 2017-12-12 17:16:40 +01:00
Simon Martín
15428979d1 adding error header acceptance test 2017-12-01 18:11:32 +01:00
Simon Martín
43598cafe6 test ensuring errors header 2017-11-28 17:19:48 +01:00
Simon Martín
670cb6eb8b Merge branch 'master' into pythonTimeout 2017-11-24 16:02:13 +01:00
Simon Martín
11e0ac89d2 undo test of postgres9.5 error 2017-11-24 12:22:30 +01:00
Simon Martín
5b3fb630fb only ensure the error message 2017-11-23 12:44:38 +01:00
Daniel García Aubert
7531df3be3 Get the right column 2017-11-17 14:46:23 +01:00
Simon Martín
63238ddd89 fix EOF line and forgotten 'only' 2017-11-17 13:17:42 +01:00
Simon Martín
501296f818 test ensuring error 2017-11-17 13:10:32 +01:00
Simon Martín
3a5c28cced py_sleep postgres function 2017-11-17 13:09:37 +01:00
Raul Marin
2211e7c0ed Test: Strip PARALLEL labels for PostgreSQL releases before 9.6 2017-11-14 16:34:16 +01:00
Daniel García Aubert
102a17c12b Fix test 2017-09-20 16:17:33 +02:00
Daniel García Aubert
b774a0ff5c Use method 'psql.end' exposed by 'cartodb-psql' instead of using the pg's one directly 2017-08-11 15:11:07 +02:00
Raul Ochoa
ec351ff580 Upgrade cartodb-psql to 0.10.0
Removes tests associated to the upgrade. SET queries are no longer
validated. Note the subtle leading space in the removed test cases.
2017-08-11 12:49:38 +02:00
Raul Ochoa
32154b67c6 Merge branch 'master' into upgrade-cartodb-psql 2017-08-11 11:57:16 +02:00
Daniel García Aubert
fd39027c6c Add TODOs 2017-08-09 18:56:51 +02:00
Daniel García Aubert
74b92bc782 Implement tests 2017-08-09 12:53:59 +02:00
Daniel García Aubert
ee9709199a Expose method to configure user's
metadata
2017-08-09 12:51:21 +02:00
Raul Ochoa
3e536b822e Remove unnecessary destroyOnError option 2017-08-08 18:21:10 +02:00
Daniel García Aubert
d7d2c73c3a Add test to check that export api handles user timeout limit 2017-08-04 17:12:49 +02:00
Daniel García Aubert
8b6ec95108 Add test to check timeout error while exporting 2017-08-03 19:15:24 +02:00
Daniel García Aubert
fb477260ec Respond with 429 and proper message when database fires a timeout error 2017-08-03 17:19:08 +02:00
Rafa de la Torre
1db935a24b Merge pull request #423 from CartoDB/422-disable-query-lru-cache
422 disable query lru cache
2017-06-27 17:40:33 +02:00
Rafa de la Torre
ae304999c7 Add a few integration tests #422 2017-06-27 16:38:07 +02:00
Rafa de la Torre
23cd744eda Skip tests that need of a real tableCache #422
Skip those tests when the tableCache is disabled, but run them
otherwise.
2017-06-27 12:58:27 +02:00
Daniel García Aubert
00cbfca72e Improve assertion 2017-06-09 16:56:44 +02:00
Daniel García Aubert
aa66000848 Going green: use replacer parameter in JSON.stringify method to not cast special number values to null 2017-06-08 12:42:37 +02:00
Daniel García Aubert
1977f4a782 Going red: special float values parsed to null 2017-06-08 12:31:18 +02:00
Mario de Frutos
3a99020632 Added regexp for the test to matches both 0.10 and 6.X node version 2017-04-18 12:15:47 +02:00
Mario de Frutos
5e9fcc5c8f Added test to check error when zip command file is not present 2017-04-18 12:15:47 +02:00
Daniel García Aubert
6dba06130b Retur a proper error message when ogr2ogr command fails 2017-04-18 11:40:37 +02:00
Raul Ochoa
ea9454d87c Add test to validate old jobs will get discovered 2017-04-04 15:42:34 +02:00
Daniel García Aubert
25a291bb38 Improve waek assertion 2017-04-04 09:50:45 +02:00
Daniel García Aubert
36d5dc1719 Queue seeker refactor:
- Extract from job subcriber everything related to queue dicovering
 - Job Queue is responsible of queue dicovering and exposes functions to scan user queues.
 - Batch creates an interval to consume queues
 - Now Batch.start() does:
  * Finds existing queues from metadata, adding to queue index the ones that are not indexed yet
  * Binds callback to process jobs for every queue found.
  * Inits queue consumer interval
  * Subscribes to PUB/SUB channel
2017-04-03 19:26:21 +02:00
Daniel García Aubert
3a0bbc1ead Avoid use sleep function 2017-04-03 14:40:23 +02:00
Daniel García Aubert
dbdfe86171 Remove mocha hooks 2017-04-03 13:07:27 +02:00
Daniel García Aubert
e4e6207565 Add test 2017-04-03 12:59:23 +02:00
Daniel García Aubert
8012fe26aa Avoid scan behaviour to discover active queues of user's jobs, now keeps an index to know which queues are available 2017-03-31 14:30:33 +02:00
Raul Ochoa
d48a901533 Merge branch 'master' into node-v6 2017-01-12 19:49:56 +01:00
Javier Torres
1f318a5f31 Test to ensure gpkg export does not add FID 2017-01-11 19:07:50 +01:00
Raul Ochoa
738e580862 Revert "Old code for closing test server"
This reverts commit 02a053c71d.
2016-12-19 15:37:34 +01:00
Raul Ochoa
afcb25be76 Dont debug that much 2016-12-19 15:30:03 +01:00
Raul Ochoa
38c3c4b4b0 More debug 2016-12-19 15:29:52 +01:00
Raul Ochoa
e2c916f4ea Add debugging info in assert.response 2016-12-19 15:29:41 +01:00
Raul Ochoa
443990c3a9 Test all 2016-12-19 15:28:24 +01:00
Raul Ochoa
02a053c71d Old code for closing test server 2016-12-19 15:21:14 +01:00