diff --git a/test/functional/sqlsrv/srv_007_login_timeout.phpt b/test/functional/sqlsrv/srv_007_login_timeout.phpt index 8145c370..8112394b 100644 --- a/test/functional/sqlsrv/srv_007_login_timeout.phpt +++ b/test/functional/sqlsrv/srv_007_login_timeout.phpt @@ -1,14 +1,18 @@ --TEST-- False connection with LoginTimeout option --DESCRIPTION-- -Intentionally provide an invalid server name and set LoginTimeout. Verify the time elapsed. +Intentionally provide an invalid server and set LoginTimeout. Verify the time elapsed. +The difference in time elapsed is platform dependent. In some Linux distros, extra delay +may be caused by the attempts to resolve non-existent hostnames. Already set leeway to 2 +seconds to allow some room of such errors, but this test remains fragile, especially +outside Windows. Thus, use an invalid IP address instead when running in any non-Windows platform. --SKIPIF-- --FILE--