Skip to content

WebWsConnectionTests.DisconnectClientOnInactivity flaky or incorrect #2700

@godexsoft

Description

@godexsoft

Issue Description

The test is either flaky or does not work correctly.
With increased client timer (50ms) it was able to pass 7500 iterations but then it still failed:

/clio/tests/unit/web/ng/impl/WsConnectionTests.cpp:136: Failure
Expected: (end - start) < (std::chrono::milliseconds{50}), actual: 59301292ns vs 50ms

Test is disabled in #2699

Steps to Reproduce

Run the test enough times

Expected Result

The test should always pass

Actual Result

Test sometimes fails

Environment

I'm using x86 docker on an arm Mac. This is slow so the test shows the flakiness (or that it's not really correct to start with)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

✅ Merged

Relationships

None yet

Development

No branches or pull requests

Issue actions