首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Ubuntu上对Redis 4.0.10进行测试失败

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

Stack Overflow用户
提问于 2018-06-19 19:33:52
回答 1查看 648关注 0票数 0

我正在尝试在运行在Windows10中的Ubuntu上编译Redis (4.0.10)的最新稳定版本。在"make“期间没有错误。但是当我运行"make test“时,我得到了以下接近尾声的错误。我是个在ubuntu上编译东西的新手。

代码语言:javascript
复制
[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
EN

回答 1

Stack Overflow用户

发布于 2018-06-22 05:44:26

我也有这个问题。我试过了

代码语言:javascript
复制
taskset -c 0 make test
票数 -2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/50927429

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档