Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate the TestLockingUpWithAThrow failures #55

Open
Tracked by #3185
olegbespalov opened this issue Aug 24, 2023 · 0 comments
Open
Tracked by #3185

Investigate the TestLockingUpWithAThrow failures #55

olegbespalov opened this issue Aug 24, 2023 · 0 comments

Comments

@olegbespalov
Copy link
Contributor

What?

In #54, along with introducing the tests on the Windows platform, we found that the TestLockingUpWithAThrow was causing issues. After a quick investigation, we localized that the issue was caused by the high number of connections that this test tried to create and change, as 9dee277 could help. It seems like these issues for windows starts with ~250 connections there.

On the other side, it raises the question that maybe it's a real issue, and we hit the behavior when we get the lock somewhere, thinking:

If the number of connections in the test is 1000, and we try to run:

go test -timeout 2m -count=150 -run ^TestLockingUpWithAThrow$ github.com/grafana/xk6-websockets/websockets

Even on Linux, we could reach timeout 😢

So we should investigate and either fix or at least understand the root cause of the issue.

Why?

It's important to know what the limits are or if there is a bug exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant