Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for mssql-jdbc.properties location logic #2579

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Fixed according to code review

f902c81
Select commit
Loading
Failed to load commit list.
Open

Fix for mssql-jdbc.properties location logic #2579

Fixed according to code review
f902c81
Select commit
Loading
Failed to load commit list.
Azure Pipelines / public-mssql-jdbc.linux succeeded Jan 30, 2025 in 33m 9s

Build #20250130.4 had test failures

Details

Tests

  • Failed: 5 (0.13%)
  • Passed: 3,841 (98.84%)
  • Other: 40 (1.03%)
  • Total: 3,886

Annotations

Check failure on line 40522 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / public-mssql-jdbc.linux

Build log #L40522

Build failed.

Check failure on line 40885 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / public-mssql-jdbc.linux

Build log #L40885

Build failed.

Check failure on line 1 in testWithTrustManagerConstructorArg

See this annotation in the file changed.

@azure-pipelines azure-pipelines / public-mssql-jdbc.linux

testWithTrustManagerConstructorArg

No suitable driver found for jdbc:sqlserver://msjdbctest.database.windows.net;database=jdbctest;loginTimeout=120;msiClientId=a0bc0c34-a024-4037-9368-9f904a008c36;authentication=ActiveDirectoryManagedIdentity;;encrypt=false;;trustServerCertificate=true;;trustManagerClass=com.microsoft.sqlserver.jdbc.ssl.trustmanager.TrustManagerWithConstructorArg;trustManagerConstructorArg=dummyString;
Raw output
java.sql.SQLException: No suitable driver found for jdbc:sqlserver://msjdbctest.database.windows.net;database=jdbctest;loginTimeout=120;msiClientId=a0bc0c34-a024-4037-9368-9f904a008c36;authentication=ActiveDirectoryManagedIdentity;;encrypt=false;;trustServerCertificate=true;;trustManagerClass=com.microsoft.sqlserver.jdbc.ssl.trustmanager.TrustManagerWithConstructorArg;trustManagerConstructorArg=dummyString;
	at com.microsoft.sqlserver.jdbc.ssl.trustmanager.CustomTrustManagerTest.testWithTrustManagerConstructorArg(CustomTrustManagerTest.java:50)

Check failure on line 1 in testWithInvalidTrustManager

See this annotation in the file changed.

@azure-pipelines azure-pipelines / public-mssql-jdbc.linux

testWithInvalidTrustManager

No suitable driver found for jdbc:sqlserver://msjdbctest.database.windows.net;database=jdbctest;loginTimeout=120;msiClientId=a0bc0c34-a024-4037-9368-9f904a008c36;authentication=ActiveDirectoryManagedIdentity;;encrypt=false;;encrypt=true;trustServerCertificate=false;trustManagerClass=com.microsoft.sqlserver.jdbc.ssl.trustmanager.InvalidTrustManager ==> expected: <true> but was: <false>
Raw output
org.opentest4j.AssertionFailedError: No suitable driver found for jdbc:sqlserver://msjdbctest.database.windows.net;database=jdbctest;loginTimeout=120;msiClientId=a0bc0c34-a024-4037-9368-9f904a008c36;authentication=ActiveDirectoryManagedIdentity;;encrypt=false;;encrypt=true;trustServerCertificate=false;trustManagerClass=com.microsoft.sqlserver.jdbc.ssl.trustmanager.InvalidTrustManager ==> expected: <true> but was: <false>
	at com.microsoft.sqlserver.jdbc.ssl.trustmanager.CustomTrustManagerTest.testWithInvalidTrustManager(CustomTrustManagerTest.java:68)

Check failure on line 1 in testTVPResultSet

See this annotation in the file changed.

@azure-pipelines azure-pipelines / public-mssql-jdbc.linux

testTVPResultSet

Unexpected time value  ==> expected: <07:02:40> but was: <07:09:10>
Raw output
org.opentest4j.AssertionFailedError: Unexpected time value  ==> expected: <07:02:40> but was: <07:09:10>
	at com.microsoft.sqlserver.jdbc.tvp.TVPAllTypesTest.testTVPResultSet(TVPAllTypesTest.java:91)
	at com.microsoft.sqlserver.jdbc.tvp.TVPAllTypesTest.testTVPResultSet(TVPAllTypesTest.java:61)

Check failure on line 1 in testWithPermissiveX509TrustManager

See this annotation in the file changed.

@azure-pipelines azure-pipelines / public-mssql-jdbc.linux

testWithPermissiveX509TrustManager

No suitable driver found for jdbc:sqlserver://msjdbctest.database.windows.net;database=jdbctest;loginTimeout=120;msiClientId=a0bc0c34-a024-4037-9368-9f904a008c36;authentication=ActiveDirectoryManagedIdentity;;encrypt=false;;trustServerCertificate=true;;trustManagerClass=com.microsoft.sqlserver.jdbc.ssl.trustmanager.PermissiveTrustManager
Raw output
java.sql.SQLException: No suitable driver found for jdbc:sqlserver://msjdbctest.database.windows.net;database=jdbctest;loginTimeout=120;msiClientId=a0bc0c34-a024-4037-9368-9f904a008c36;authentication=ActiveDirectoryManagedIdentity;;encrypt=false;;trustServerCertificate=true;;trustManagerClass=com.microsoft.sqlserver.jdbc.ssl.trustmanager.PermissiveTrustManager
	at com.microsoft.sqlserver.jdbc.ssl.trustmanager.CustomTrustManagerTest.testWithPermissiveX509TrustManager(CustomTrustManagerTest.java:36)