CartoDB-SQL-API/config/environments/test.js
Sandro Santilli debc0c2586 Run tests on "make check", using custom port for redis
Includes tweaks in the db preparation script and in the tests
for proper handling of async model. Only a single test is run
at the moment, being the only one that succeeded for me.
2012-07-12 18:10:56 +02:00

15 lines
574 B
JavaScript

module.exports.node_port = 8080;
module.exports.node_host = '127.0.0.1';
module.exports.environment = 'test';
module.exports.db_base_name = 'cartodb_test_user_<%= user_id %>_db';
module.exports.db_user = 'test_cartodb_user_<%= user_id %>';
module.exports.db_host = 'localhost';
module.exports.db_port = '5432';
module.exports.redis_host = '127.0.0.1';
module.exports.redis_port = 6333;
module.exports.redisPool = 50;
module.exports.redisIdleTimeoutMillis = 1;
module.exports.redisReapIntervalMillis = 1;
module.exports.redisLog = false;