Spring Redis - Read configuration from application.properties file

后端 未结 9 985
渐次进展
渐次进展 2020-12-25 13:46

I have Spring Redis working using spring-data-redis with all default configuration likes localhost default port and so on.

Now

9条回答
  •  情深已故
    2020-12-25 14:11

    Use @DirtiesContext(classMode = classmode.AFTER_CLASS) at each test class. This will surely work for you.

提交回复
热议问题