Skip to content

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

Merged
casibbald merged 1 commit intoweaveworks:mainfrom
erikgb:flow-test-httptest
Jan 13, 2025
Merged

test: replace http.Server with httptest.Server#4512
casibbald merged 1 commit intoweaveworks:mainfrom
erikgb:flow-test-httptest

Conversation

@erikgb
Copy link
Copy Markdown
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
This was referenced Jan 15, 2025
This was referenced Feb 4, 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