We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 233d11a commit bfa4fd2Copy full SHA for bfa4fd2
opentelemetry-otlp/src/exporter/mod.rs
@@ -358,15 +358,19 @@ mod tests {
358
.with_export_config(ex_config)
359
.build();
360
361
- assert!(matches!(
+ assert!(
362
+ matches!(
363
exporter_result,
364
Err(crate::exporter::ExporterBuildError::InvalidUri(_, _))
- ));
365
+ ),
366
+ "Expected InvalidUri error, but got {:?}",
367
+ exporter_result
368
+ );
369
}
370
371
#[cfg(feature = "grpc-tonic")]
- #[test]
- fn export_builder_error_invalid_grpc_endpoint() {
372
+ #[tokio::test]
373
+ async fn export_builder_error_invalid_grpc_endpoint() {
374
use std::time::Duration;
375
376
use crate::{ExportConfig, LogExporter, Protocol, WithExportConfig};
0 commit comments