Hoverbear / old-raft-rs

[Incomplete] A Raft implementation in Rust
https://hoverbear.github.io/raft-rs/raft/
MIT License
266 stars 41 forks source link

Tests fail on Windows 10 #119

Open aochagavia opened 8 years ago

aochagavia commented 8 years ago

I get the following errors:

test server::tests::test_client_accept ... FAILED
test server::tests::test_invalid_client_message ... FAILED

When running the key value storage example I repeatedly get the following error:

WARN:raft::server: Server(1): unable to accept connection: A request to send
or receive data was disallowed because the socket is not connected and (when
sending on a datagram socket using a sendto call) no address was supplied.
(os error 10057)

Apparently, the nodes cannot communicate with each other, so they all stay in candidate status.

Is this a problem of mio? I looked at raft::server but couldn't find any obvious bug.