From adb042ee83fd67d5a4f98c7309e16c93f567c045 Mon Sep 17 00:00:00 2001 From: Nico Verbruggen Date: Tue, 2 Dec 2025 15:25:12 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20Fix=20tests=20(unit=20tests=20now?= =?UTF-8?q?=20concurrently=20run=20in=20<5=20sec)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/unit/Testables/Shell/RealShellTest.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/Testables/Shell/RealShellTest.swift b/tests/unit/Testables/Shell/RealShellTest.swift index 36ee551a..2b38e950 100644 --- a/tests/unit/Testables/Shell/RealShellTest.swift +++ b/tests/unit/Testables/Shell/RealShellTest.swift @@ -57,7 +57,7 @@ struct RealShellTest { @Test func system_shell_can_timeout_and_throw_error() async { await #expect(throws: ShellError.timedOut) { try await container.shell.attach( - "php -r \"sleep(1);\"", + "php -r \"sleep(30);\"", didReceiveOutput: { _, _ in }, withTimeout: .seconds(0.1) ) @@ -74,7 +74,7 @@ struct RealShellTest { } let duration = start.duration(to: .now) - #expect(duration < .milliseconds(2000)) // Should complete in ~700ms if parallel + #expect(duration < .milliseconds(3000)) // Should complete in ~700ms if parallel } /**