Skip to content

Serve HTTP status codes from a local server in network tests#2191

Open
XhmikosR wants to merge 1 commit into
bleachbit:masterfrom
XhmikosR:xmr/test-http
Open

Serve HTTP status codes from a local server in network tests#2191
XhmikosR wants to merge 1 commit into
bleachbit:masterfrom
XhmikosR:xmr/test-http

Conversation

@XhmikosR

@XhmikosR XhmikosR commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Should hopefully fix the random network test failures since we won't be hitting real sites. Not sure if it's the best solution, but IMHO it's crucial that CI is stable.

@coveralls

coveralls commented Jul 12, 2026

Copy link
Copy Markdown

Coverage Status

coverage: 76.203% (+0.009%) from 76.194% — XhmikosR:xmr/test-http into bleachbit:master

@XhmikosR
XhmikosR marked this pull request as ready for review July 12, 2026 11:59
@az0

az0 commented Jul 12, 2026

Copy link
Copy Markdown
Member

Yesterday I made commit 08b2278 and today 046f10c that could help, so first I'll see how those work, but your solution also makes sense.

@XhmikosR

Copy link
Copy Markdown
Contributor Author

IMHO this is much preferable and cleaner. Only con we don't test https right now.

@XhmikosR

Copy link
Copy Markdown
Contributor Author

I personally keep hitting these errors, for example https://github.com/XhmikosR/bleachbit/actions/runs/29275856857/job/86904597631

@XhmikosR

Copy link
Copy Markdown
Contributor Author

I still think we should merge this. It doesn't make any sense for us to rely on external services and have CI failures for that reason, when we can achieve the same in a proper, robust way.

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.

3 participants