From 6bc083eee6bc60f277cd84c6b53c4960dad490f8 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Thu, 1 Oct 2026 09:30:46 +0200 Subject: [PATCH] test(server): fake sleep in the functional recheck tests The connection check now retries SSH after a 3 second delay. Co-Authored-By: Claude Opus 5.5 --- tests/Feature/ServerFunctionalRecheckTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Feature/ServerFunctionalRecheckTest.php b/tests/Feature/ServerFunctionalRecheckTest.php index 8e1b09bdc9..a3629edc37 100644 --- a/tests/Feature/ServerFunctionalRecheckTest.php +++ b/tests/Feature/ServerFunctionalRecheckTest.php @@ -6,12 +6,14 @@ use App\Models\Team; use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Support\Facades\Process; use Illuminate\Support\Facades\Storage; +use Illuminate\Support\Sleep; uses(RefreshDatabase::class); beforeEach(function () { Storage::fake('ssh-keys'); Storage::fake('ssh-mux'); + Sleep::fake(); }); function createServerForFunctionalRecheckTest(array $settings): Server