gpt4 book ai didi

ubuntu - 在 Ubuntu 上对 Redis 4.0.10 进行测试失败

转载 作者:可可西里 更新时间:2023-11-01 11:46:06 24 4
gpt4 key购买 nike

我正在尝试在 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

最佳答案

我也遇到了这个问题。我试过了

taskset -c 0 make test

在 Github 上看到一些类似的帖子后,这对我来说也没有用。

关于ubuntu - 在 Ubuntu 上对 Redis 4.0.10 进行测试失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50927429/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com