Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fail #169

Open
davehodg opened this issue May 5, 2023 · 0 comments
Open

Tests fail #169

davehodg opened this issue May 5, 2023 · 0 comments

Comments

@davehodg
Copy link

davehodg commented May 5, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant