服务器sentinel配置了auth pass,客户端用spring-data-redis,单元测试时发生异常noauth Authentication required。
在jedisConnFactory中配置password即可,自己解决棒棒哒。