From 03ea93d0bd5937733019c645db65fd4a7c824c53 Mon Sep 17 00:00:00 2001 From: Gabi Date: Fri, 23 Feb 2024 17:15:31 -0300 Subject: [PATCH] fix(ci): phoenix channel tests not running (#3749) Similar to #3747 --- .github/workflows/_rust.yml | 4 ++-- rust/phoenix-channel/src/heartbeat.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/_rust.yml b/.github/workflows/_rust.yml index 7286b9d53..49c6a889c 100644 --- a/.github/workflows/_rust.yml +++ b/.github/workflows/_rust.yml @@ -50,9 +50,9 @@ jobs: # TODO: https://github.com/rust-lang/cargo/issues/5220 include: - runs-on: ubuntu-20.04 - packages: -p firezone-relay -p firezone-linux-client -p firezone-gateway -p connlib-client-android -p snownet + packages: --workspace - runs-on: ubuntu-22.04 - packages: -p firezone-relay -p firezone-linux-client -p firezone-gateway -p connlib-client-android -p snownet + packages: --workspace - runs-on: macos-12 packages: -p connlib-client-apple -p snownet - runs-on: macos-13 diff --git a/rust/phoenix-channel/src/heartbeat.rs b/rust/phoenix-channel/src/heartbeat.rs index 9516bd35b..5d36c27e8 100644 --- a/rust/phoenix-channel/src/heartbeat.rs +++ b/rust/phoenix-channel/src/heartbeat.rs @@ -74,7 +74,7 @@ mod tests { #[tokio::test] async fn returns_heartbeat_after_interval() { - let mut heartbeat = Heartbeat::new(Duration::from_millis(10)); + let mut heartbeat = Heartbeat::new(Duration::from_millis(30)); let _ = poll_fn(|cx| heartbeat.poll(cx)).await; // Tick once at startup. let start = Instant::now();