aspnet/Testing

Rewrite HttpClientSlimTests in a way that doesn't depend on Hosting

cesarblum opened this issue · 7 comments

Eilon commented

@javiercn can you take a look?

@CesarBS can you describe what the issue here is and what the expectations/goals are?

How it broke the CI and what does in your opinion need to change

I thought CI links would live forever 😢

Those tests broke the CI when moved here because they created a cycle in the dependency graph (Testing -> Hosting -> Testing IIRC).

I created this issue so this wouldn't get lost, but I'm not sure it's worth putting much effort into this. HttpClientSlim is transitively tested wherever it's used. BTW that's only Kestrel now, but it was used in MetaPackages for a while (in functional tests that used HTTPS).

So can this be closed then?

It hadn't occurred to me before to use HttpListener as the server for those tests. You can look into that, but you can assign the bug to me as well since I was the one who moved HttpClientSlim here and subsequently removed its tests.

@CesarBS Ok. I will do so.