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 <noreply@anthropic.com>
This commit is contained in:
Andras BacsaiandClaude Opus 5.5 committed 2026-10-01 09:30:46 +02:00
1 parent b5393e24ec
commit 6bc083eee6
1 file changed
+2
@@ -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