Skip to content

Commit 1b7b51c

Browse files
committed
fix(tests): update OTEL collector.
Updates the OTEL collection version in use in the tests to v0.120.0. Signed-off-by: José Guilherme Vanz <jguilhermevanz@suse.com>
1 parent 6d89a57 commit 1b7b51c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

tests/data/otel-collector-config.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ receivers:
55
otlp:
66
protocols:
77
grpc:
8+
endpoint: 0.0.0.0:4317
89
tls:
910
ca_file: "certs/server-ca.pem"
1011
cert_file: "certs/server-cert.pem"

tests/integration_test.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -804,8 +804,6 @@ async fn test_detect_certificate_rotation() {
804804
}
805805
}
806806

807-
// This test is flaky. We need to fix it. But for now, we are ignoring it.
808-
#[ignore]
809807
#[tokio::test]
810808
async fn test_otel() {
811809
setup();
@@ -856,7 +854,7 @@ async fn test_otel() {
856854
set_permissions(file_path, permissions.clone()).unwrap();
857855
}
858856

859-
let otelc = GenericImage::new("otel/opentelemetry-collector", "0.98.0")
857+
let otelc = GenericImage::new("otel/opentelemetry-collector", "0.120.0")
860858
.with_wait_for(WaitFor::message_on_stderr("Everything is ready"))
861859
.with_mount(Mount::bind_mount(
862860
otelc_config_path.to_str().unwrap(),

0 commit comments

Comments
 (0)