Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Some httpProxy tests require internet access

Opend0d47f819642f39a2ecc6c95de97112c9d784c12Created 2 years agoUpdated 2 years ago
Descriptionmarkdown2024-06-14 08:48:44

When running the test suite in an environment with no internet access, several of the httpProxy tests that try to access google fail:

---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: couldn't open socket: Temporary failure in name resolution
    while executing
"http::geturl http://www.google.com/"

This could be fixed by either adding a constraint that skips them when there is no internet access, or by using a local dummy server instead of a public URL for the tests, whichever fits better with the purpose of the test.

Log in (anonymous is fine) to add a comment.