nlopes / libhoney-rust

Rust library for sending data to Honeycomb
MIT License
23 stars 16 forks source link

cargo update blew up a few tests #3

Closed nlopes closed 3 years ago

nlopes commented 5 years ago

running 15 tests test builder::tests::test_builder_add ... ok test builder::tests::test_builder_add_conflict ... ok test client::tests::test_flush ... FAILED test client::tests::test_init ... ok test client::tests::test_send_without_api_key ... ok test event::tests::test_add ... ok test event::tests::test_empty ... ok test event::tests::test_send ... FAILED test tests::test_init ... ok test transmission::tests::test_bad_response ... FAILED test transmission::tests::test_defaults ... ok test transmission::tests::test_metadata ... FAILED test transmission::tests::test_modifiable_defaults ... ok test transmission::tests::test_multiple_batches ... FAILED test transmission::tests::test_responses ... FAILED

failures:

---- client::tests::test_flush stdout ---- thread 'main' panicked at 'assertion failed: (left == right) left: None, right: Some(202)', src/client.rs:197:9 note: Run with RUST_BACKTRACE=1 environment variable to display a backtrace.

---- event::tests::test_send stdout ---- thread 'main' panicked at 'assertion failed: (left == right) left: None, right: Some(200)', src/event.rs:216:13

---- transmission::tests::test_bad_response stdout ---- thread 'main' panicked at 'assertion failed: (left == right) left: None, right: Some(400)', src/transmission.rs:620:13

---- transmission::tests::test_metadata stdout ---- thread 'main' panicked at 'assertion failed: (left == right) left: None, right: Some(202)', src/transmission.rs:513:13

---- transmission::tests::test_multiple_batches stdout ---- thread 'main' panicked at 'assertion failed: (left == right) left: None, right: Some(202)', src/transmission.rs:578:9

---- transmission::tests::test_responses stdout ---- thread 'main' panicked at 'assertion failed: (left == right) left: None, right: Some(202)', src/transmission.rs:470:13

failures: client::tests::test_flush event::tests::test_send transmission::tests::test_bad_response transmission::tests::test_metadata transmission::tests::test_multiple_batches transmission::tests::test_responses

test result: FAILED. 9 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out

nlopes commented 5 years ago

At a glance it seems reqwest 0.9.18 "broke" it. https://github.com/seanmonstar/reqwest/compare/v0.9.17...v0.9.18

Once I have some time, I'll start there.

nlopes commented 5 years ago

Related: https://github.com/seanmonstar/reqwest/issues/544

nlopes commented 3 years ago

No longer applicable: reqwest has since been bumped to 0.10