Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ekump committed Jul 8, 2024
1 parent 00791c3 commit f12fd00
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion trace-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ serde_json = "1.0"
httpmock = { version = "0.7.0"}

[features]
test-utils = ["httpmock", "testcontainers", "cargo_metadata"]
test-utils = ["httpmock", "testcontainers", "cargo_metadata"]
6 changes: 5 additions & 1 deletion trace-utils/src/test_utils/datadog_test_agent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,11 @@ impl DatadogTestAgent {

async fn get_base_uri_string(&self) -> String {
let container_host = self.container.get_host().await.unwrap().to_string();
let container_port = self.container.get_host_port_ipv4(8126).await.unwrap();
let container_port = self
.container
.get_host_port_ipv4(TEST_AGENT_PORT)
.await
.unwrap();

format!("http://{}:{}", container_host, container_port)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@
"type": "web"
}
]
]
]

0 comments on commit f12fd00

Please sign in to comment.