diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-08 12:50:34 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-08 12:50:34 +0000 |
| commit | efe3e43cf792abd8bb256121ebf84ae04836313a (patch) | |
| tree | 2aa626f43817d7f86145ba4c6c09ac8660df1a9b /tests/common | |
| parent | b4da09689ee0bd6ac327a6ed7ffb01e2175e2596 (diff) | |
tests: discover and sync from relay in annocunement published directly
Diffstat (limited to 'tests/common')
| -rw-r--r-- | tests/common/relay.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/common/relay.rs b/tests/common/relay.rs index 3d160f2..073a601 100644 --- a/tests/common/relay.rs +++ b/tests/common/relay.rs | |||
| @@ -57,12 +57,8 @@ impl TestRelay { | |||
| 57 | /// source.stop().await; | 57 | /// source.stop().await; |
| 58 | /// } | 58 | /// } |
| 59 | /// ``` | 59 | /// ``` |
| 60 | pub async fn start_with_sync(bootstrap_relay_url: &str) -> Self { | 60 | pub async fn start_with_sync(bootstrap_relay_url: Option<String>) -> Self { |
| 61 | Self::start_with_options( | 61 | Self::start_with_options(Self::find_free_port(), bootstrap_relay_url).await |
| 62 | Self::find_free_port(), | ||
| 63 | Some(bootstrap_relay_url.to_string()), | ||
| 64 | ) | ||
| 65 | .await | ||
| 66 | } | 62 | } |
| 67 | 63 | ||
| 68 | /// Start relay with options | 64 | /// Start relay with options |