Skip to content

Commit

Permalink
try(7)
Browse files Browse the repository at this point in the history
  • Loading branch information
beltram committed Jun 30, 2023
1 parent d146e06 commit 3e74626
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/wiremock_java.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ impl testcontainers::Image for WiremockImage {
}

fn ready_conditions(&self) -> Vec<WaitFor> {
vec![WaitFor::seconds(1)]
vec![WaitFor::seconds(10)]
}

fn volumes(&self) -> Box<dyn Iterator<Item = (&String, &String)> + '_> {
Expand Down Expand Up @@ -116,6 +116,6 @@ pub trait WiremockExt {
impl<'a, T: testcontainers::Image> WiremockExt for testcontainers::Container<'a, T> {
fn uri(&self) -> String {
let port = self.get_host_port_ipv4(WiremockImage::PORT);
format!("http://localhost:{port}")
format!("http://127.0.0.1:{port}")
}
}

0 comments on commit 3e74626

Please sign in to comment.