Skip to content

Commit

Permalink
Merge pull request #3450 from rbtcollins/ci-debuggability
Browse files Browse the repository at this point in the history
Improve CI debugability
  • Loading branch information
rbtcollins authored Aug 19, 2023
2 parents 5741fff + f0bf690 commit 4b6bbc3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion download/tests/read-proxy-env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,12 @@ fn socks_proxy_request() {

if let Err(e) = res {
let s = e.source().unwrap();
assert!(
s.to_string().contains("socks connect error"),
"Expected socks connect error, got: {}",
s.to_string()
);
assert_eq!(CALL_COUNT.load(Ordering::SeqCst), 1);
assert!(s.to_string().contains("socks connect error"));
} else {
panic!("Socks proxy was ignored")
}
Expand Down

0 comments on commit 4b6bbc3

Please sign in to comment.