我正在尝试在Windows 10内运行的Ubuntu上编译Redis(4.0.10)的最新稳定版本。“ make”期间没有错误。但是,当我运行“ make test”时,直到最后我都会遇到以下错误。我是在ubuntu上编译内容的新手。
[err]: PUBLISH/SUBSCRIBE after UNSUBSCRIBE without arguments in tests/unit/pubsub.tcl
Expected '1' to be equal to '0'
[err]: PUBLISH/PSUBSCRIBE after PUNSUBSCRIBE without arguments in tests/unit/pubsub.tcl
Expected '1' to be equal to '0'
[exception]: Executing test client: child process exited abnormally.
child process exited abnormally
while executing
"exec kill -9 $bench_pid"
("uplevel" body line 47)
invoked from within
"uplevel 1 $code "
(procedure "start_server" line 3)
invoked from within
"start_server {} {
# Config
set debug_msg 0 ; # Enable additional debug messages
set no_exit 0 ; # Do no..."
("uplevel" body line 2)
invoked from within
"uplevel 1 $code "
(procedure "start_server" line 3)
invoked from within
"start_server {} {
start_server {} {
# Config
set debug_msg 0 ; # Enable additional debug messages
set no_exit 0 ..."
("uplevel" body line 2)
invoked from within
"uplevel 1 $code "
(procedure "start_server" line 3)
invoked from within
"start_server {tags {"psync2"}} {
start_server {} {
start_server {} {
# Config
set debug_msg 0 ; # Enable additional debug mess..."
(file "tests/integration/psync2-reg.tcl" line 7)
invoked from within
"source $path"
(procedure "execute_tests" line 4)
invoked from within
"execute_tests $data"
(procedure "test_client_main" line 10)
invoked from within
"test_client_main $::test_server_port "
Makefile:242: recipe for target 'test' failed
make[1]: *** [test] Error 1
make[1]: Leaving directory '/home/myuser/Development/Redis/redis-4.0.10/src'
Makefile:6: recipe for target 'test' failed
make: *** [test] Error 2
答案 0 :(得分:-1)
我也遇到了这个问题。我尝试过
taskset -c 0 make test
在Github上看到一些类似的帖子之后,这对我也没有帮助。