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 79fcbc4 commit 659b068Copy full SHA for 659b068
opentelemetry-otlp/tests/integration_test/src/metric_helpers.rs
@@ -100,7 +100,12 @@ pub fn assert_metrics_results_contains(expected_content: &str) -> Result<()> {
100
let mut contents = String::new();
101
let mut reader = std::io::BufReader::new(&file);
102
reader.read_to_string(&mut contents)?;
103
- assert!(contents.contains(expected_content));
+ assert!(
104
+ contents.contains(expected_content),
105
+ "Expected content {} not found in actual content {}",
106
+ expected_content,
107
+ contents
108
+ );
109
Ok(())
110
}
111
0 commit comments