question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

run tests against remote redis server

See original GitHub issue

Is it possible to run npm test against the remote redis server? Also, is it possible to run it against the redis docker image ?

Thanks.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:1
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
dirkbonhommecommented, Mar 16, 2018

I might have time the coming weeks to rework the way the tests use the Redis server. Probably something along these lines:

  • Optional Docker configuration to avoid local dependency on redis-server
  • ENV variable to indicate use of Docker or local Redis server (defaults to local Redis server)
  • Perhaps two new npm scripts: npm run test-local and npm run test-docker to make it obvious which server it uses

Any ideas or suggestions @BridgeAR?

1reaction
dirkbonhommecommented, Mar 19, 2018

@gibfahn definitely sounds possible:

  1. Use local Redis if available
  2. Fall back to Docker if available
  3. Stop and display clear error message with instructions
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to work with redis for test automation
Pre-requisites: · Install Redis via sudo apt · Expose the redis server to outside the VM · Restart redis service.
Read more >
How to connect to remote Redis server? - Stack Overflow
I have URL and PORT of remote Redis server. I am able to write into Redis from Scala. However I want to connect...
Read more >
Setting up Redis on a Remote Server - Bird Eats Bug
This article covers all the basics of Redis and will teach you how to set up Redis on a remote server.
Read more >
How to Benchmark the Performance of a Redis Server on ...
-t : Run only a subset of tests. For instance, you can use -t get,set to benchmark the performance of GET and SET...
Read more >
Redis CLI
The Redis command line interface ( redis-cli ) is a terminal program used to send commands to and read replies from the Redis...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found