Ubuntu Error: redis安装时 sudo make test不通过 --未解决!
sudo make test结果
解决方法
方法一:修改replication-psync.tcl文件
step1: vim tests/integration/replication-psync.tcl
step2: 末行模式 /after,编辑模式 将after 100修改为 after 10000,末行模式 wq
step3:重新 sudo make test
失败,错误同上!
方法二:关闭正在运行的redis进程
step1:ps aux | grep redis
step2: sudo kill -9 redis的进程号
关闭失败,redis自动重启。
step3:sudo /etc/init.d/redis-server stop
关闭失败,redis进程仍在。
step4:sudo make test
错误如下。。。