We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 144a0af commit dbeae5dCopy full SHA for dbeae5d
1 file changed
src/sinks/elasticsearch/tests.rs
@@ -702,7 +702,8 @@ async fn test_parse_config_with_uri_auth() {
702
703
let got_auth_inner = match common.auth.as_ref().unwrap() {
704
Auth::Basic(auth) => auth,
705
- _ => panic!("Expected auth to be Basic"),
+ #[cfg(feature = "aws-core")]
706
+ Auth::Aws { .. } => panic!("Expected auth to be Basic"),
707
};
708
709
assert_eq!(
@@ -737,7 +738,8 @@ async fn test_parse_config_with_config_auth() {
737
738
739
740
741
742
743
744
745
0 commit comments