File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,8 +23,11 @@ import XCTest
2323#endif
2424
2525#if QlogOutput
26+
27+ @available ( Network 0 . 1 . 0 , * )
2628let qlogTestsLogPrefixer = LogPrefixer ( " [QLogTests] " )
2729
30+ @available ( Network 0 . 1 . 0 , * )
2831final class QLogTests : XCTestCase {
2932 var qlog : QLog = QLog ( )
3033
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ internal import os
4848
4949#if QlogOutput
5050
51+ @available ( Network 0 . 1 . 0 , * )
5152final class SwiftNetworkQUICQlogTests : NetTestCase {
5253 func testQUICWriteClientQlogFileOnDataTransfer( ) throws {
5354 let dataBlock : [ UInt8 ] = Array ( " Hello World! " . utf8)
@@ -68,7 +69,7 @@ final class SwiftNetworkQUICQlogTests: NetTestCase {
6869 let qlogExpectation = XCTestExpectation ( description: " Loop until the qlog is written " )
6970 // Validate the qlog file is present (based on how it creates the file)
7071 let finalPath = path + " /qlog_client_ \( title) _C1.qlog "
71- func checkQlogFileExists( ) {
72+ @ Sendable func checkQlogFileExists( ) {
7273 if FileManager . default. fileExists ( atPath: finalPath) {
7374 qlogExpectation. fulfill ( )
7475 }
@@ -110,7 +111,7 @@ final class SwiftNetworkQUICQlogTests: NetTestCase {
110111 let qlogExpectation = XCTestExpectation ( description: " Loop until the qlog is written " )
111112 // Validate the qlog file is present (based on how it creates the file)
112113 let finalPath = path + " qlog_server_ \( title) _C1.qlog "
113- func checkQlogFileExists( ) {
114+ @ Sendable func checkQlogFileExists( ) {
114115 if FileManager . default. fileExists ( atPath: finalPath) {
115116 qlogExpectation. fulfill ( )
116117 }
You can’t perform that action at this time.
0 commit comments