kstyrc / embedded-redis

Redis embedded server for Java integration testing
854 stars 371 forks source link

Sould I see a unix process when Redis is started ? #10

Closed nicolasguyomar closed 10 years ago

nicolasguyomar commented 10 years ago

Hi,

I was trying to connect to the embedded redis 0.1 from a unit test, but I can't connect using spring-data.

Should I see a running process on 6379 port when I start a Redis instance ? Or is it embedded in something else ?

I get ConnectionRefused exception on host:localhost and port:6379

Thank you

anthonyu commented 10 years ago

You should see a unix process.

nicolasguyomar commented 10 years ago

Hi,

You can close this bug, I found a way to unit test my code with an embedded redis instance provided by nosql-unit :

See https://github.com/lordofthejars/nosql-unit/issues/95

kstyrc commented 10 years ago

Hi, I've uploaded simple SpringData Redis test, it seems working ;>