Always use 127.0.0.1 on TLS tests outside of containers.

Resolving localhost can vary based on the local network configuration so it is safer to just use a static IP.

This was found while testing on Travis-CI arm64.
This commit is contained in:
David Steele
2020-05-06 14:49:03 -04:00
parent 3fe6ad5047
commit 8aede3353c
+1 -1
View File
@@ -180,7 +180,7 @@ harnessTlsServerAbort(void)
/**********************************************************************************************************************************/
const String *harnessTlsTestHost(void)
{
return strNew(testContainer() ? TLS_TEST_HOST : "localhost");
return strNew(testContainer() ? TLS_TEST_HOST : "127.0.0.1");
}
/**********************************************************************************************************************************/