FreddieBrown/stabilize

Test test_fail_heartbeat succeeds when it shouldn't

Closed this issue · 1 comments

---- backend::tests::test_fail_heartbeat stdout ----
(Stabilize Health) Connected to address: 127.0.0.1:5006
(Stabilize Health) Received: [0], Server Alive 127.0.0.1:5006
thread 'backend::tests::test_fail_heartbeat' panicked at 'assertion failed: `(left == right)`
  left: `true`,
 right: `false`', src\backend\tests.rs:48:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

This indicates that, despite home being directed to 127.0.0.1:5005 and to_connect being directed to 127.0.0.1:5006 in the test code, the connection between home and to_connect was still successful, somehow.

Windows 10 issue and therefore out of scope