Comments (7)
Without redis-server active:
==> eredis (eunit)
Compiled src/eredis_parser.erl
Compiled src/eredis.erl
Compiled src/eredis_sub.erl
Compiled src/basho_bench_driver_erldis.erl
Compiled src/basho_bench_driver_eredis.erl
Compiled src/eredis_client.erl
Compiled src/eredis_sub_client.erl
Compiled test/eredis_tests.erl
Compiled test/eredis_sub_tests.erl
Compiled test/eredis_parser_tests.erl
eredis_sub_tests: pubsub_test...*skipped*
undefined
*unexpected termination of test process*
::{connection_error,econnrefused}
=======================================================
Failed: 0. Skipped: 0. Passed: 0.
One or more tests were cancelled.
With redis-server active:
==> eredis (eunit)
=ERROR REPORT==== 12-Sep-2018::14:23:54 ===
** Generic server <0.91.0> terminating
** Last message in was {tcp,#Port<0.28393>,
<<"*3\r\n$7\r\nmessage\r\n$3\r\nfoo\r\n$2\r\n12\r\n">>}
** When Server state == {state,"127.0.0.1",6379,<<>>,100,#Port<0.28393>,
{pstate,undefined,undefined},
[<<"foo">>],
{#Ref<0.0.1.915>,<0.64.0>},
{[{message,<<"foo">>,<<"11">>,<0.91.0>},
{message,<<"foo">>,<<"10">>,<0.91.0>},
{message,<<"foo">>,<<"9">>,<0.91.0>},
{message,<<"foo">>,<<"8">>,<0.91.0>},
{message,<<"foo">>,<<"7">>,<0.91.0>},
{message,<<"foo">>,<<"6">>,<0.91.0>},
{message,<<"foo">>,<<"5">>,<0.91.0>},
{message,<<"foo">>,<<"4">>,<0.91.0>},
{message,<<"foo">>,<<"3">>,<0.91.0>}],
[{message,<<"foo">>,<<"2">>,<0.91.0>}]},
10,exit,need_ack}
** Reason for termination ==
** max_queue_size
All 60 tests passed.
What is the behavior you expect?
from eredis.
Hmmm. This is a bit weird.. The test suite does print some error messages when we test the error handling. That part is definitively expected.
Is the second example with redis running? Could you verify by just running redis-cli
? eredis expects the same default configuration parameters as redis-cli
.
from eredis.
I identified the test results with "With redis-server active:" and "Without redis-server active:" in my reply.
from eredis.
Yes, I see that, but the tests wouldn't pass if there's no redis-server running. :)
from eredis.
Yes, I see that, but the tests wouldn't pass if there's no redis-server running. :)
"With" was actually without... it was identified the other way around 😄
from eredis.
Okay, that makes much more sense :)
Then my answer is "yes, this is expected behaviour". On success the return code of the test process will be 0
.
I'll close the issue now. If you have further questions please reopen.
from eredis.
I had no questions or issues with eredis (apart from a github Issue I opened) 😄I was replying to the original question.
from eredis.
Related Issues (20)
- authenticate fail , wrong password.
- get_all_messages only gets one message? HOT 1
- Is there any method like qp_noreply? HOT 1
- Getting wrong value for HINCRBYFLOAT
- {error,{unexpected_data,{error,closed}}} - during Authentication HOT 1
- Don't log error on start HOT 1
- eredis Crash is killing my microservice.
- Support for Slave in eredis_cluster HOT 1
- exit messages {'EXIT',<0.13696.0>,normal}
- Can support SSL?
- Spawned reconnect_loop process is not terminated when the client is terminated
- ipv6 support cause issues in some cases HOT 1
- :nxdomain when using redis cluster endpoint with large number of shards
- Poor performance of Multi Bulk response parser HOT 1
- This source code is no longer the official. Please highlight this in README.
- eason: {timeout_value,[{ error
- Can not clone repository
- deadloop in reconnect_loop HOT 1
- TLS Support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eredis.