aatxe / irc

the irc crate – usable, async IRC for Rust
Mozilla Public License 2.0
526 stars 100 forks source link

Fix test which requires driving the outgoing queue #187

Closed udoprog closed 4 years ago

udoprog commented 4 years ago

As per the comment in #184

aatxe commented 4 years ago

I'm a bit surprised at the complexity here. I hope we can come up with something better than this for the sake of other people testing, but I'll take it for now.

aatxe commented 4 years ago

Cheers!

udoprog commented 4 years ago

Yeah, looking closer now it would've been possible to ignore the SendError since we update the internal state before we try to send it through the queue. Some Future PR I guess.