You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the cargo test --test l2cap -- --nocapture test passes successfully. However, as can be noted from the following log, this pass is fake.
running 1 test
[peripheral] advertising
[central] connecting
Test completed successfully
test l2cap_connection_oriented_channels ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.02s
Only the initial prints from the peripheral and central threads are shown. On some investigation, it seems that the timeout match statement is returning Ok() before either of the central or peripheral threads had a chance to complete. This does not return an error and hence falls in the final arm of the match indicating the test has passed without it being run.
The text was updated successfully, but these errors were encountered:
Running the
cargo test --test l2cap -- --nocapture
test passes successfully. However, as can be noted from the following log, this pass is fake.Only the initial prints from the peripheral and central threads are shown. On some investigation, it seems that the timeout match statement is returning
Ok()
before either of the central or peripheral threads had a chance to complete. This does not return an error and hence falls in the final arm of the match indicating the test has passed without it being run.The text was updated successfully, but these errors were encountered: