Skip to content

os.linux.IoUring.test.accept/connect/send_zc/recv...FAIL (TestExpectedEqual) #20212

@andrewrk

Description

@andrewrk

Zig Version

0.13.0-dev.411+a4e01074b

Steps to Reproduce and Observed Behavior

$ uname -a
Linux bark 6.9.2 #1-NixOS SMP PREEMPT_DYNAMIC Sat May 25 14:30:56 UTC 2024 x86_64 GNU/Linux
$ stage3/bin/zig test ../lib/std/std.zig 
expected 4294967295, found 4008636142
2190/2760 os.linux.IoUring.test.accept/connect/send_zc/recv...FAIL (TestExpectedEqual)
/home/andy/dev/zig/lib/std/testing.zig:93:17: 0x1e2003c in expectEqualInner__anon_14569 (test)
                return error.TestExpectedEqual;
                ^
/home/andy/dev/zig/lib/std/testing.zig:134:17: 0x2bba091 in expectEqualInner__anon_56376 (test)
                try expectEqual(@field(expected, field.name), @field(actual, field.name));
                ^
/home/andy/dev/zig/lib/std/os/linux/IoUring.zig:3540:5: 0x2bd3d06 in test.accept/connect/send_zc/recv (test)
    try testing.expectEqual(linux.io_uring_cqe{
    ^
2724 passed; 35 skipped; 1 failed.
error: the following test command failed with exit code 1:
/home/andy/dev/zig/.zig-cache/o/aaad1787b46abea6ecbdd987d2eec9b7/test

Expected Behavior

Test passed.


cc @ianic, author of this test

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behavioros-linuxLinuxstandard libraryThis issue involves writing Zig code for the standard library.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions