Opened 2 weeks ago

Last modified 2 weeks ago

#69868 new defect

Don't depend on www.whatsmyip.org in test suite

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by:
Priority: Normal Milestone:
Component: base Version: 2.9.3
Keywords: Cc:
Port:

Description

Testing MacPorts base failed with:

Failed to connect to www.whatsmyip.org port 443 after 30005 ms: Timeout was reached

We should not depend on outside web services for our test suite to complete.

Change History (2)

comment:1 Changed 2 weeks ago by jmroot (Joshua Root)

There are some other curl tests that use macports.org, but that isn't guaranteed to work all the time either. The only way to make these tests really reliable would be to run a local web server that supports all the features being tested.

comment:2 Changed 2 weeks ago by ryandesign (Ryan Carsten Schmidt)

I would be satisfied with using macports.org since we control that infrastructure.

Note: See TracTickets for help on using tickets.