fleetdm / fleet

Open device management
https://fleetdm.com
Other
5.22k stars 612 forks source link

Go tests fail due to httpstat.us being down #30183

Closed getvictor closed 2 days ago

getvictor commented 3 weeks ago

Our unit tests often fail locally and in CI because some of them use http://httpstat.us for error codes.

To fix

Replace the use of httpstat.us with a local test server that returns the error code.

lucasmrod commented 3 days ago

@getvictor Is this fixed by https://github.com/fleetdm/fleet/pull/30184?

getvictor commented 2 days ago

@getvictor Is this fixed by #30184?

yes

fleet-release commented 2 days ago

Test server local, Stable as a mountain peak, Efficient, no fall.