LukeMathWalker / wiremock-rs

HTTP mocking to test Rust applications.
Apache License 2.0
631 stars 73 forks source link

fix 7 - runtime mixes. #8

Closed o0Ignition0o closed 4 years ago

o0Ignition0o commented 4 years ago

this one will hopefully fix #7

It was quite a fun one to track down. It turns out async runtimes mixing sometimes don't behave well. Here we're trying to make sure async_std is going to drive the mock server listener.

Let's have a look at the original test case and see if this one fixes it (it works on my machine).