Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions swift-nio-filesystem.patch
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,19 @@ index 3dc51872..49aeeeca 100644
// When opening in this mode we can more "atomically" create the file, that is, by not
// leaving the user with a half written file should e.g. the system crash or throw an
// error while writing. On non-Android Linux we do this by opening the directory for
diff --git a/Sources/NIOPerformanceTester/main.swift b/Sources/NIOPerformanceTester/main.swift
index b3c2840a..809f114e 100644
--- a/Sources/NIOPerformanceTester/main.swift
+++ b/Sources/NIOPerformanceTester/main.swift
@@ -32,7 +32,7 @@ import NIOPosix
import NIOWebSocket

// Use unbuffered stdout to help detect exactly which test was running in the event of a crash.
-setbuf(stdout, nil)
+//setbuf(stdout, nil)

// MARK: Test Harness

diff --git a/Tests/NIOFSIntegrationTests/BufferedReaderTests.swift b/Tests/NIOFSIntegrationTests/BufferedReaderTests.swift
index 8404e159..151fccc1 100644
--- a/Tests/NIOFSIntegrationTests/BufferedReaderTests.swift
Expand Down
2 changes: 1 addition & 1 deletion swift-nio-revert.patch
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ index 65bbc653..93a5a700 100644
--- a/Tests/NIOPosixTests/EventLoopTest.swift
+++ b/Tests/NIOPosixTests/EventLoopTest.swift
@@ -2070,6 +2070,40 @@ final class EventLoopTest: XCTestCase {
}
XCTAssertEqual("cool", actual)
}
#endif
+
+ func testRegressionSelectableEventLoopDeadlock() throws {
+ let iterations = 1_000
Expand Down