Skip to content

Windows VS2010. Intermittent test failure in timeo #361

Closed
@nickva

Description

Test fails intermittently. Maybe 1 in 10 times.

Context of code that fails (timeo.c):

rc = nn_recv (s, buf, sizeof (buf), 0);
elapsed = nn_stopwatch_term (&stopwatch);
errno_assert (rc < 0 && nn_errno () == EAGAIN);
time_assert (elapsed, 100000); // <- FAILS HERE

Opening in debugger and inspecting local variable shows these values:

elapsed = 90536
rc = -1

Another time elapsed was 94034

Additional info:

Commit:
git hash 6a333ae (Dec 17, 2014)

Windows 7, VS2010 SP1, x64

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions