mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-04 10:42:23 +00:00
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:
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
|
||||
|
||||
Reference in new issue
Block a user