mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2026-06-20 01:17:49 +02:00
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:
@@ -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");
|
||||
}
|
||||
|
||||
/**********************************************************************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user