diff options
| author | Matthieu <matthieu@developershouse.xyz> | 2021-10-13 16:25:42 +0400 |
|---|---|---|
| committer | Matthieu <matthieu@developershouse.xyz> | 2021-10-13 16:25:42 +0400 |
| commit | a3ae049fceb70dd14a7ae39d84c8643fd4f4fcb3 (patch) | |
| tree | 021a6c2910a922950c8f207955b94c887c170028 /webhook/src/handler/tests/handler_integration.rs | |
| parent | d460ddf726f8dc3dcf9916a8f80c76fe959946a0 (diff) | |
fix circleci
Diffstat (limited to 'webhook/src/handler/tests/handler_integration.rs')
| -rw-r--r-- | webhook/src/handler/tests/handler_integration.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/webhook/src/handler/tests/handler_integration.rs b/webhook/src/handler/tests/handler_integration.rs index ab353ed..fd0d67f 100644 --- a/webhook/src/handler/tests/handler_integration.rs +++ b/webhook/src/handler/tests/handler_integration.rs @@ -5,7 +5,7 @@ use crate::{ handler::tests::utils::{generate_keypair, sign_message}, start, }; -use common::{config::test_init, nats_crate::Connection, testcontainers::images::generic::WaitFor}; +use common::{config::test_init, nats_crate::Connection, testcontainers::{Image, images::generic::WaitFor}}; use common::{ config::Settings, log::info, @@ -41,10 +41,12 @@ lazy_static! { let container = DOCKER.run(image); container.start(); + container.image().wait_until_ready(&container); container.get_host_port(4222).unwrap(); container }; + static ref KEYPAIR: (String, [u8; 64]) = { generate_keypair() }; |
