Spring data redis mock -


i need integration testing spring cloud application running spring data on redis. tests work locally regular redis server instance , need run on jenkins ci server controlled corporate ci engineering group. can attach redo server there used embedded redis server (from here: https://github.com/kstyrc/embedded-redis). running tests locally redis server works since there test profile inject embedded server in place of production one. problem when run in jenkins environment error see.

/tmp/1430170830037-0/redis-server-2.8.19: /lib64/libc.so.6: version `glibc_2.14' not found (required /tmp/1430170830037-0/redis-server-2.8.19) 

so version of redis has specific dependency on specific version of glibc. tried couple of other libraries depend on same underlying version of embedded redis server.

is there spring data mock framework can used around sort of issue?

this might come little late you, there indeed spring data mock framework can use, let's mock repositories (regardless of specific backend solution) without real database connection.

here link: https://github.com/mmnaseri/spring-data-mock