Open dekellum opened 6 years ago
I can reproduce this and will do my best to investigate.
Here is another possible (intermittent) failure mode for the stub timeout tests:
https://travis-ci.org/dekellum/body-image/jobs/410416615#L663
failures: ---- async::tests::stub::test_timeout_streaming stdout ---- thread 'async::tests::stub::test_timeout_streaming' panicked at 'should have timed-out!', src/async/tests/stub.rs:176:13 note: Run with
RUST_BACKTRACE=1
for a backtrace.
FYI: I've adopted a strategy of labeling the less-than 100% tests with a may_fail non-default feature, so I've gone ahead and merged these stub timeout tests to master.
With some test of timeout behavior, currently in dekellum/body-image@225a0b2 (branch stub-timeout-tests which may be further rebased), I'm seeing intermittent panics at src/connector.rs:61:40. Its fortunately never panics the test thread (because I'm not using current_thread runtime?), so this more a nuisance than a blocking issue for me.
Finally, note that I have comparable timeout test againsts a real hyper server (see async/tests/server.rs in same repo) where I don't see these panics.