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

test: replace http.Server with httptest.Server #4512

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

erikgb
Copy link
Contributor

@erikgb erikgb commented Jan 13, 2025

Closes #4503

What changed?

Replace the use of http.Server with httptest.Server in flow_test.go. Also removing the need for a new goroutine.

Why was this change made?

I believe this should fix #4503, but since the tests only stall occasionally, I am not 100% sure. But I was able to reproduce the issue locally before this change, and not able after. 🙏

How was this change implemented?

How did you validate the change?

Release notes

Documentation Changes

@erikgb erikgb requested review from casibbald and tenstad January 13, 2025 20:03
@casibbald casibbald merged commit d15828a into weaveworks:main Jan 13, 2025
18 checks passed
This was referenced Jan 15, 2025
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

Successfully merging this pull request may close these issues.

Occasionally stalling test
2 participants