Skip to content

Commit 7085335

Browse files
committed
try force ipv4
1 parent 0cf0a02 commit 7085335

File tree

1 file changed

+2
-2
lines changed
  • opentelemetry-otlp/tests/integration_test/tests

1 file changed

+2
-2
lines changed

opentelemetry-otlp/tests/integration_test/tests/logs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ fn init_logs() -> Result<sdklogs::LoggerProvider> {
1717
let exporter_builder = LogExporter::builder();
1818
#[cfg(feature = "tonic-client")]
1919
let exporter_builder = exporter_builder.with_tonic()
20-
.with_endpoint("http://localhost:4317");
20+
.with_endpoint("http://127.0.0.1:4317");
2121
#[cfg(not(feature = "tonic-client"))]
2222
#[cfg(any(
2323
feature = "hyper-client",
2424
feature = "reqwest-client",
2525
feature = "reqwest-blocking-client"
2626
))]
2727
let exporter_builder = exporter_builder.with_http()
28-
.with_endpoint("http://localhost:4318");
28+
.with_endpoint("http://http://127.0.0.1:4318");
2929

3030
let exporter = exporter_builder.build()?;
3131

0 commit comments

Comments
 (0)