redis make test报错

!!! 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)


大意是说有些测试点在配置比较低的机器上会因为超时而过不了,我在虚拟机上跑的,所以很有可能是这个问题。


你可能感兴趣的:(数据库)