File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -270,6 +270,8 @@ extension Driver {
270270 commandLine. append ( . path( try VirtualPath ( path: mcp) ) )
271271 }
272272 commandLine. appendFlag ( . serializeParseableModuleInterfaceDependencyHashes)
273+ commandLine. appendFlag ( . badFileDescriptorRetryCount)
274+ commandLine. appendFlag ( " 30 " )
273275 return Job (
274276 moduleName: moduleName,
275277 kind: . compile,
Original file line number Diff line number Diff line change @@ -829,6 +829,7 @@ final class ExplicitModuleBuildTests: XCTestCase {
829829 XCTAssertTrue ( jobs. allSatisfy { $0. kind == . compile} )
830830 XCTAssertTrue ( jobs. allSatisfy { $0. commandLine. contains ( . flag( " -compile-module-from-interface " ) ) } )
831831 XCTAssertTrue ( jobs. allSatisfy { $0. commandLine. contains ( . flag( " -module-cache-path " ) ) } )
832+ XCTAssertTrue ( jobs. allSatisfy { $0. commandLine. contains ( . flag( " -bad-file-descriptor-retry-count " ) ) } )
832833 XCTAssertTrue ( try jobs. allSatisfy { $0. commandLine. contains ( . path( try VirtualPath ( path: moduleCachePath) ) ) } )
833834 let HJobs = jobs. filter { $0. moduleName == " H " }
834835 XCTAssertTrue ( HJobs . count == 3 )
You can’t perform that action at this time.
0 commit comments