fuerbringer / tldr-telegram

:robot: :books: Telegram chatbot frontend for tldr-pages.
https://t.me/tldr_pages_bot
GNU Affero General Public License v3.0
8 stars 2 forks source link

Redis connections cause test to hang #2

Open fuerbringer opened 6 years ago

fuerbringer commented 6 years ago

The current tldr.spec.js test hangs when run like this:

$ REDIS_HOST=172.17.0.2 npm test

> tldr-telegram@1.0.0 test /home/sev/git/tldr-telegram
> mocha test

  tldr
    ✓ should return empty contents for a non-existing page (715ms)

  1 passing (723ms)

Most likely caused by the redis connection from ./lib/cache.js.