Skip to content

Commit 919d4a3

Browse files
AaronRMscottgerring
authored andcommitted
Remove extraneous lines from test_with_gzip_compression unit test
1 parent 03b4d35 commit 919d4a3

File tree

1 file changed

+0
-3
lines changed
  • opentelemetry-otlp/src/exporter/tonic

1 file changed

+0
-3
lines changed

opentelemetry-otlp/src/exporter/tonic/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -564,9 +564,6 @@ mod tests {
564564
#[test]
565565
#[cfg(feature = "gzip-tonic")]
566566
fn test_with_gzip_compression() {
567-
// metadata should merge with the current one with priority instead of just replacing it
568-
let mut metadata = MetadataMap::new();
569-
metadata.insert("foo", "bar".parse().unwrap());
570567
let builder = TonicExporterBuilder::default().with_compression(Compression::Gzip);
571568
assert_eq!(builder.tonic_config.compression.unwrap(), Compression::Gzip);
572569
}

0 commit comments

Comments
 (0)