您的位置:首页 > 数据库 > Redis

redis make test报错

2015-01-16 10:15 956 查看
!!! WARNING The following tests failed:

*** [err]: Detect write load to master in tests/integration/replication-psync.tcl

Can't detect write load from background clients.

*** [err]: Detect write load to master in tests/integration/replication-psync.tcl

Can't detect write load from background clients.

*** [err]: Test replication partial resync: no backlog in tests/integration/replication-psync.tcl

Expected condition '[s -1 sync_partial_err] > 0' to be true ([s -1 sync_partial_err] > 0)

*** [err]: Detect write load to master in tests/integration/replication-psync.tcl

Can't detect write load from background clients.

*** [err]: Detect write load to master in tests/integration/replication-psync.tcl

Can't detect write load from background clients.

*** [err]: Connect multiple slaves at the same time (issue #141), diskless=yes in tests/integration/replication.tcl

我是在虚拟机中跑的make test,在github上有一个说明

For
timing issues, one test isn't very representative. Did you try running them 5-10 times? Is there anything unusual about your machine (very small memory, very slow, shared, overloaded, etc)? Some of the tests are based on timing, so if the machine can't deliver
results in time then tests can't complete properly. (you can manually edit some of the tests to increase the timeout waiting)

大意是说有些测试点在配置比较低的机器上会因为超时而过不了,我在虚拟机上跑的,所以很有可能是这个问题。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: