Files
sourcekit-lsp/Sources/LSPTestSupport/Timeouts.swift
Alex Hoppen 55f2df8317 Increase default timeout to 3 minutes
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.
2024-01-22 15:49:50 -08:00

18 lines
697 B
Swift

//===----------------------------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2022 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
import Foundation
/// The default duration how long tests should wait for responses from
/// SourceKit-LSP / sourcekitd / clangd.
public let defaultTimeout: TimeInterval = 120