Redis安装“make test”错误

在CentOS 6.7上运行Redis 2.8安装的“make test”时出现以下错误:

*** [err]: Test replication partial resync: ok psync (diskless: no, reconnect: 1) in tests/integration/replication-psync.tcl Expected condition '[s -1 sync_partial_ok] > 0' to be true ([s -1 sync_partial_ok] > 0) *** [err]: Test replication partial resync: ok psync (diskless: yes, reconnect: 1) in tests/integration/replication-psync.tcl Expected condition '[s -1 sync_partial_ok] > 0' to be true ([s -1 sync_partial_ok] > 0) 

它们是致命的吗?为了解决它们,可以做些什么? 谢谢 :)

我不确定这是一个错误还是什么,但是在我的情况下,强制任务只能由一个处理器来执行:

 taskset -c 20 make test 

在上面我跑了它在20日的CPU。 您可以捕获/ etc / procinfo文件以获取您拥有的CPU数量并确定使用哪一个。