See attributes_test.cpp
Two tests with the scenario ConnectionAttributeLoginTimeout and ConnectionAttributePacketSize.
The attributes SQL_ATTR_LOGIN_TIMEOUT and SQL_ATTR_PACKET_SIZE should be set before establishing the connection.
Note that this tests work fine for Microsoft ODBC driver manager and unixODBC