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
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
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
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
7a666a8f57
Rename untitle_table_4 dependant objects
2016-12-09 10:28:51 +01:00
Daniel García Aubert
9a63006719
Validate job response using the internal reference
2016-11-24 15:40:09 +01:00
Daniel García Aubert
a0eea98940
Implement custom assert for batch test client
2016-11-24 13:25:14 +01:00
Daniel García Aubert
363a550633
Fix error message
2016-11-24 13:09:33 +01:00
Daniel García Aubert
ce51fb8860
Set tiemout for test client to 5s
2016-11-24 00:15:17 +01:00
Daniel García Aubert
f7a41d3a0d
Try to cancel a job
2016-11-23 20:46:19 +01:00
Daniel García Aubert
5eca803fc8
Add support to get some specific job status
2016-11-23 19:20:44 +01:00
Daniel García Aubert
93a8fcc2f9
Make customizable timeout value for request
2016-11-23 12:30:16 +01:00
Daniel García Aubert
37b9eda6c3
Fix typo
2016-11-22 18:33:46 +01:00
Daniel García Aubert
23054034b4
Add mechanism to avoid infiniy request to check job status
2016-11-22 14:26:21 +01:00
Daniel García Aubert
172c9d91e8
Set request timeout to 4sec
2016-11-22 11:54:22 +01:00
Daniel García Aubert
d152aa7ec9
Set request timeout to 5sec
2016-11-22 11:41:35 +01:00
Daniel García Aubert
0f5a67833f
Set default timeout for assert response to 4 sec
2016-11-21 18:29:46 +01:00
Daniel García Aubert
4a64d37c6c
Add work in progrees list endpoint
2016-10-28 15:08:42 +02:00
Raul Ochoa
5030fddc9c
Allow to override test client
2016-10-19 16:56:43 +02:00
Raul Ochoa
cdde1be29e
Re-use redis pool as much as possible
2016-10-17 15:02:34 +02:00
Raul Ochoa
f6dc991ab5
Allow to override configuration per API call
2016-10-17 10:52:35 +02:00
Raul Ochoa
b86f82d3ca
Batch.stop removes all listeners
2016-10-12 16:43:18 +02:00
Raul Ochoa
66820a67bb
Make possible to specify a name for batch
2016-10-10 19:46:07 +02:00
Raul Ochoa
ece95afc95
Add test client to run plain queries
2016-10-10 15:37:46 +02:00
Raul Ochoa
8ac656492f
Move to support directory
2016-10-10 15:22:50 +02:00
Raul Ochoa
b07e2d3de5
Merge pull request #346 from CartoDB/fix-batch-api-test
...
Removed duplicated config
2016-10-04 13:01:46 +02:00
Raul Ochoa
2712d81d50
Remove unused server utils
2016-09-26 18:13:08 +02:00
Raul Ochoa
b29358a0ed
Remove old response from assert
2016-09-26 18:11:40 +02:00
Raul Ochoa
abc2f130c9
Migrate to express 4.x series
...
- Remove express logger
- Error handler responds with application/[json|javascript]
- Fix all tests relying on res.headers
- assert.response based on request module
2016-09-26 18:09:27 +02:00
Raul Ochoa
c9846a2437
Change callback signature in assert.response
2016-09-26 14:37:40 +02:00
Daniel García Aubert
17411f2bb6
Avoids to delete empty keys
2016-09-12 16:00:33 +02:00
Daniel García Aubert
085abb3446
Removed duplicated config
2016-08-01 11:48:11 +02:00
Daniel García Aubert
587ab6a5d9
Extratcs redis clean method for batch keys
2016-07-22 17:05:01 +02:00
Raul Ochoa
299490f46f
Put all remote sql script together
2016-06-01 10:52:54 +02:00
Daniel García Aubert
052cb0796d
Modified fallback tests in order to use our custom assert.response
2016-05-20 14:42:53 +02:00
Raul Ochoa
69fa13ab50
Do not track CDB_ sql function files
2016-03-08 14:09:15 +01:00
Alejandro Martínez
5e06711b4b
Use node-cartodb-querytables library
2016-02-22 12:24:05 +01:00
Raul Ochoa
0068322fe2
Upgrade CDB_QueryTables to use latest version
2015-09-07 17:10:24 +02:00
Raul Ochoa
8db6b88853
Update CDB_QueryTables to match current spec
2015-08-04 14:45:14 +02:00
Raul Ochoa
296bb658bf
Update test/support/CDB_QueryTables.sql
2015-03-02 12:30:40 +01:00
Raul Ochoa
d794670f0b
Update test/support/CDB_QueryTables.sql
2015-03-02 11:26:21 +01:00
Raul Ochoa
9ab49d4614
Fix test as now it's reporting the issue with the query syntax differently
2015-02-26 16:28:25 +01:00
Raul Ochoa
7b9dbaf9f7
Upgrades QueryTables and QueryStatements to match with current
...
implementations. From now on it will re-download those functions from
https://github.com/CartoDB/cartodb-postgresql/tree/cdb when running
tests.
2014-09-22 13:16:11 +02:00
Raul Ochoa
0500d21fd5
Removes unused method in assert extension
2014-08-28 10:43:36 +02:00
Raul Ochoa
6525b62fe2
Adds extra information when status/headers dont match
2014-08-27 17:09:31 +02:00