Skip to content

Commit

Permalink
debug CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rnro committed Sep 19, 2024
1 parent 0ec4ce9 commit c9803ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tests/NIOPosixTests/DatagramChannelTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1496,6 +1496,7 @@ class DatagramChannelTests: XCTestCase {
try XCTSkipUnless(System.supportsUDPSegmentationOffload, "UDP_SEGMENT (GSO) is not supported on this platform")

let udpMaxSegments = System.udpMaxSegments() ?? 64
print("udpMaxSegments: \(System.udpMaxSegments())") // TODO: remove; debugging CI

var segments = udpMaxSegments

Expand Down Expand Up @@ -1529,7 +1530,7 @@ class DatagramChannelTests: XCTestCase {
try XCTSkipUnless(System.supportsUDPSegmentationOffload, "UDP_SEGMENT (GSO) is not supported on this platform")

let udpMaxSegments = System.udpMaxSegments() ?? 64

print("udpMaxSegments: \(System.udpMaxSegments())") // TODO: remove; debugging CI
let segmentSize = 10
let didSet = self.firstChannel.setOption(.datagramSegmentSize, value: CInt(segmentSize))
XCTAssertNoThrow(try didSet.wait())
Expand Down

0 comments on commit c9803ba

Please # to comment.