@@ -1976,6 +1976,11 @@ test "close" {
1976
1976
test "accept/connect/send/recv" {
1977
1977
if (builtin .os .tag != .linux ) return error .SkipZigTest ;
1978
1978
1979
+ if (true ) {
1980
+ // https://github.com/ziglang/zig/issues/14907
1981
+ return error .SkipZigTest ;
1982
+ }
1983
+
1979
1984
var ring = IO_Uring .init (16 , 0 ) catch | err | switch (err ) {
1980
1985
error .SystemOutdated = > return error .SkipZigTest ,
1981
1986
error .PermissionDenied = > return error .SkipZigTest ,
@@ -2017,13 +2022,19 @@ test "accept/connect/send/recv" {
2017
2022
test "sendmsg/recvmsg" {
2018
2023
if (builtin .os .tag != .linux ) return error .SkipZigTest ;
2019
2024
2025
+ if (true ) {
2026
+ // https://github.com/ziglang/zig/issues/14907
2027
+ return error .SkipZigTest ;
2028
+ }
2029
+
2020
2030
var ring = IO_Uring .init (2 , 0 ) catch | err | switch (err ) {
2021
2031
error .SystemOutdated = > return error .SkipZigTest ,
2022
2032
error .PermissionDenied = > return error .SkipZigTest ,
2023
2033
else = > return err ,
2024
2034
};
2025
2035
defer ring .deinit ();
2026
2036
2037
+ if (true ) @compileError ("don't hard code port numbers in unit tests" ); // https://github.com/ziglang/zig/issues/14907
2027
2038
const address_server = try net .Address .parseIp4 ("127.0.0.1" , 3131 );
2028
2039
2029
2040
const server = try os .socket (address_server .any .family , os .SOCK .DGRAM , 0 );
@@ -2223,6 +2234,11 @@ test "timeout_remove" {
2223
2234
test "accept/connect/recv/link_timeout" {
2224
2235
if (builtin .os .tag != .linux ) return error .SkipZigTest ;
2225
2236
2237
+ if (true ) {
2238
+ // https://github.com/ziglang/zig/issues/14907
2239
+ return error .SkipZigTest ;
2240
+ }
2241
+
2226
2242
var ring = IO_Uring .init (16 , 0 ) catch | err | switch (err ) {
2227
2243
error .SystemOutdated = > return error .SkipZigTest ,
2228
2244
error .PermissionDenied = > return error .SkipZigTest ,
@@ -2372,6 +2388,11 @@ test "statx" {
2372
2388
test "accept/connect/recv/cancel" {
2373
2389
if (builtin .os .tag != .linux ) return error .SkipZigTest ;
2374
2390
2391
+ if (true ) {
2392
+ // https://github.com/ziglang/zig/issues/14907
2393
+ return error .SkipZigTest ;
2394
+ }
2395
+
2375
2396
var ring = IO_Uring .init (16 , 0 ) catch | err | switch (err ) {
2376
2397
error .SystemOutdated = > return error .SkipZigTest ,
2377
2398
error .PermissionDenied = > return error .SkipZigTest ,
@@ -2509,13 +2530,19 @@ test "register_files_update" {
2509
2530
test "shutdown" {
2510
2531
if (builtin .os .tag != .linux ) return error .SkipZigTest ;
2511
2532
2533
+ if (true ) {
2534
+ // https://github.com/ziglang/zig/issues/14907
2535
+ return error .SkipZigTest ;
2536
+ }
2537
+
2512
2538
var ring = IO_Uring .init (16 , 0 ) catch | err | switch (err ) {
2513
2539
error .SystemOutdated = > return error .SkipZigTest ,
2514
2540
error .PermissionDenied = > return error .SkipZigTest ,
2515
2541
else = > return err ,
2516
2542
};
2517
2543
defer ring .deinit ();
2518
2544
2545
+ if (true ) @compileError ("don't hard code port numbers in unit tests" ); // https://github.com/ziglang/zig/issues/14907
2519
2546
const address = try net .Address .parseIp4 ("127.0.0.1" , 3131 );
2520
2547
2521
2548
// Socket bound, expect shutdown to work
@@ -3060,6 +3087,11 @@ test "remove_buffers" {
3060
3087
test "provide_buffers: accept/connect/send/recv" {
3061
3088
if (builtin .os .tag != .linux ) return error .SkipZigTest ;
3062
3089
3090
+ if (true ) {
3091
+ // https://github.com/ziglang/zig/issues/14907
3092
+ return error .SkipZigTest ;
3093
+ }
3094
+
3063
3095
var ring = IO_Uring .init (16 , 0 ) catch | err | switch (err ) {
3064
3096
error .SystemOutdated = > return error .SkipZigTest ,
3065
3097
error .PermissionDenied = > return error .SkipZigTest ,
@@ -3236,6 +3268,7 @@ const SocketTestHarness = struct {
3236
3268
fn createSocketTestHarness (ring : * IO_Uring ) ! SocketTestHarness {
3237
3269
// Create a TCP server socket
3238
3270
3271
+ if (true ) @compileError ("don't hard code port numbers in unit tests" ); // https://github.com/ziglang/zig/issues/14907
3239
3272
const address = try net .Address .parseIp4 ("127.0.0.1" , 3131 );
3240
3273
const kernel_backlog = 1 ;
3241
3274
const listener_socket = try os .socket (address .any .family , os .SOCK .STREAM | os .SOCK .CLOEXEC , 0 );
0 commit comments