Skip to content

Tests should not rely on external websites which lead to random failures #2504

@vors

Description

@vors

Today https://httpbin.org/ is down the whole day.
It caused two daily builds to fail with 43 tests for Invoke-WebRequest and Invoke-RestMethod.

https://ci.appveyor.com/project/PowerShell/powershell-f975h/build/6.0.0-alpha.10-26
https://ci.appveyor.com/project/PowerShell/powershell-f975h/build/6.0.0-alpha.11-27

We should replace httpbin with eaver our own hosted version or localhost server, i.e.
https://github.com/Runscope/httpbin

localhost server will introduce unnecessary testing dependencies, not sure which one would be a better solution.

cc @daxian-dbw @Francisco-Gamino

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions