erikgrinaker / toydb

Distributed SQL database in Rust, written as an educational project
Apache License 2.0
6.12k stars 564 forks source link

test cluster::isolation::anomaly_dirty_read blocks indefinitely #44

Closed bud-adamas closed 3 years ago

bud-adamas commented 3 years ago

It looks like:

     Running target/debug/deps/tests-28925d9acf338694

running 1 test
test cluster::isolation::anomaly_dirty_read ... 

It seems blocked within tokio, but I am not falimiar with tokio.

erikgrinaker commented 3 years ago

This usully happens because there is another ToyDB process already running that's listening on the same port (the tests use the default port), so some messages get sent to it instead of the test instance.