Skip to content

testRebotHeartbeatCount hangs indefinitely #285

@smarsching

Description

@smarsching

When running the test suite, testRebotHeartbeatCount hangs indefinitely. Through a debugger, I found that this happens because testable_rebot_sleep::waitForClientTestableMode() (implemented in testableRebotSleep_testingImpl.h) never returns.

I think that this happens because this function waits for RebotSleepSynchroniser::_clientHasReachedTestableMode to be set, and the only function that does this is testable_rebot_sleep::sleep_until(…), which apparently is never called. At least I couldn’t find any place in the code where it is called.

I noticed this problem on macOS 12.6, but from looking at the code, this should happen on all platforms.

I am not quite sure what this test is supposed to do, so I don’t no where sleep_until(…) should be called.
@mhier, @killenb: It looks like the two of you wrote the code for this test. Maybe you can provide some inside into what is supposed to be happening there.

Metadata

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