Ericsson / ered

An Erlang client library for Valkey/Redis Cluster
MIT License
11 stars 6 forks source link

Add blackhole test case, simulating network failure #17

Closed zuiderkwast closed 1 year ago

zuiderkwast commented 1 year ago

Nice! So this seems to work as expected then?

Yes, well, I watched what happens and then wrote the test case accordingly.

I wonder what happens if we put a sleep in the ReplyFun. Maybe it delays ered_client's exit enough to make ered kill itself by killing its own reconnnect loop pid...? Next PR?