From cd3e1152083706d77b223fb29110e590efcc70c0 Mon Sep 17 00:00:00 2001 From: Cory Benfield Date: Wed, 24 Jun 2026 09:58:19 +0100 Subject: [PATCH] Avoid exit tests on iOS/tvOS/watchOS/visionOS (#3639) Motivation: The exit tests fail to compile on these platforms. Modifications: Commented out the exit tests on those platforms. Result: Better testing --- Tests/NIOCoreTests/ByteBufferCrashTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/NIOCoreTests/ByteBufferCrashTests.swift b/Tests/NIOCoreTests/ByteBufferCrashTests.swift index d33fc2b3e..5c633f4a8 100644 --- a/Tests/NIOCoreTests/ByteBufferCrashTests.swift +++ b/Tests/NIOCoreTests/ByteBufferCrashTests.swift @@ -16,7 +16,7 @@ import Foundation @_spi(CustomByteBufferAllocator) import NIOCore import Testing -#if compiler(>=6.2) +#if compiler(>=6.2) && !(canImport(Darwin) && !os(macOS)) @Suite struct ByteBufferCrashTests { @Test func copyBytesToIndexExceedingUInt32Max() async {