在springtest中启动 一个线程,线程中使用reidstemplate 会发生未找到reidstemplate ,然后利用代码从容器中获取 reidstemplate ,报错:redis连接失败,springtest里面的新线程好像跟spring容器没有一点关系。