From 55f2df831730a9067006ca8992a66e3d15113bf2 Mon Sep 17 00:00:00 2001 From: Alex Hoppen Date: Mon, 22 Jan 2024 15:49:45 -0800 Subject: [PATCH] Increase default timeout to 3 minutes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In some cases, when Xcode doesn’t have a module cache for SDK modules, building SwiftPM project in the tests can take longer than 1 minute. Increase the timeout to 2 minutes. --- Sources/LSPTestSupport/Timeouts.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/LSPTestSupport/Timeouts.swift b/Sources/LSPTestSupport/Timeouts.swift index b3f4538f..698985ed 100644 --- a/Sources/LSPTestSupport/Timeouts.swift +++ b/Sources/LSPTestSupport/Timeouts.swift @@ -14,4 +14,4 @@ import Foundation /// The default duration how long tests should wait for responses from /// SourceKit-LSP / sourcekitd / clangd. -public let defaultTimeout: TimeInterval = 60 +public let defaultTimeout: TimeInterval = 120