Skip to content

Tests fail #169

@davehodg

Description

@davehodg

Fresh install of Redis using brew on a Mac. The sample code from the man page works. I've checked out the perl-redis source and run prove -r t/. I get:

t/60-sentinel.t .......... 1/? 
#   Failed test 'sentinel has proper config of its master'
#   at t/60-sentinel.t line 50.
# Compared $data->{"num\-other\-sentinels"}
#    got : '0'
# expect : '1'

#   Failed test 'found service mymaster'
#   at t/60-sentinel.t line 67.
#          got: '127.0.0.1:0'
#     expected: '127.0.0.1:/var/folders/wm/xt8_7fvs0s5fzpjgy4tkxmlw0000gn/T/r4iPcFDdcV'
Could not connect to Redis server at 127.0.0.1:0: Invalid argument at t/60-sentinel.t line 78.
# shutting down sentinel2
# shutting down sentinel
# shutting down redis
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 22 just after 3.
t/60-sentinel.t .......... Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 2/3 subtests 

Test Summary Report
-------------------
t/60-sentinel.t        (Wstat: 5632 Tests: 3 Failed: 2)
  Failed tests:  1-2
  Non-zero exit status: 22
  Parse errors: No plan found in TAP output
Files=17, Tests=285, 82 wallclock secs ( 0.15 usr  0.07 sys +  8.61 cusr  2.66 csys = 11.49 CPU)
Result: FAIL

TBH, I don't really expect a fix, I just thought you should know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions