Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test environment settings not making trough all testing #27

Closed
strk opened this issue Jul 9, 2012 · 1 comment
Closed

test environment settings not making trough all testing #27

strk opened this issue Jul 9, 2012 · 1 comment

Comments

@strk
Copy link
Contributor

strk commented Jul 9, 2012

serverOptions:
{ base_url: '/tiles/:table',
  grainstore:
   { datasource:
      { user: 'tileuser',
        host: '127.0.0.1',
        port: 5432,
        srid: 4326,
        extent: '-20005048.4188,-20005048.4188,20005048.4188,20005048.4188',
        simplify: true } },
  redis:
   { host: '127.0.0.1',
     port: 6333,
     idleTimeoutMillis: 1,
     reapIntervalMillis: 1 },
  enable_cors: true,
  varnish_host: '',
  varnish_port: null,
  cache_enabled: false,
  log_format: '[:date] :req[X-Real-IP] \u001b[90m:method\u001b[0m \u001b[36m:req[Host]:url\u001b[0m \u001b[90m:status :response-time ms -> :res[Content-Type]\u
001b[0m',
  req2params: [Function],
  getInfowindow: [Function],
  getMapMetadata: [Function],
  flushCache: [Function] }

  ......[Mon, 09 Jul 2012 16:49:30 GMT] - GET 127.0.0.1:5555/ 200 3 ms -> text/html; charset=utf-8
.
....
....

  ✖ 14 of 15 tests failed:

  1) server get'ing blank style returns default style:
     Error: Redis connection to 127.0.0.1:6379 failed - ECONNREFUSED, Connection refused

Where does :6379 comes from if the server was configured with redis port 6333 ?

strk pushed a commit that referenced this issue Jul 9, 2012
@strk
Copy link
Contributor Author

strk commented Jul 9, 2012

It sounds to me that the fault is in lib/cartodb/carto_data.js initializing RedisPool with no parameters

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant