Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1180,8 +1180,8 @@ public void testValidCredentialsProvider_WithoutEnablingSystemProperty() throws
assertEquals(ErrorCode.FAILED_PRECONDITION, exception.getErrorCode());
assertEquals(
"FAILED_PRECONDITION: credentialsProvider can only be used if the system property"
+ " ENABLE_CREDENTIALS_PROVIDER has been set to true. Start the application with the"
+ " JVM command line option -DENABLE_CREDENTIALS_PROVIDER=true",
+ " ENABLE_CREDENTIALS_PROVIDER has been set to true. Start the application with"
+ " the JVM command line option -DENABLE_CREDENTIALS_PROVIDER=true",
exception.getMessage());
});
}
Expand Down Expand Up @@ -1228,8 +1228,8 @@ public void testCredentialsProvider_NotLoadedWithoutSystemProperty() throws Thro
assertEquals(ErrorCode.FAILED_PRECONDITION, exception.getErrorCode());
assertEquals(
"FAILED_PRECONDITION: credentialsProvider can only be used if the system property"
+ " ENABLE_CREDENTIALS_PROVIDER has been set to true. Start the application with the"
+ " JVM command line option -DENABLE_CREDENTIALS_PROVIDER=true",
+ " ENABLE_CREDENTIALS_PROVIDER has been set to true. Start the application with"
+ " the JVM command line option -DENABLE_CREDENTIALS_PROVIDER=true",
exception.getMessage());
});
}
Expand Down Expand Up @@ -1287,7 +1287,8 @@ public void testCredentialsProvider_NonExistentClass() throws Throwable {
exception
.getMessage()
.contains(
"Unknown or invalid CredentialsProvider class name: com.google.cloud.spanner.connection.NonExistentClass"));
"Unknown or invalid CredentialsProvider class name:"
+ " com.google.cloud.spanner.connection.NonExistentClass"));
});
}

Expand Down Expand Up @@ -1781,7 +1782,8 @@ public void testExternalChannelProvider_NonExistentClass() throws Throwable {
exception
.getMessage()
.contains(
"Unknown or invalid ExternalChannelProvider class name: com.google.cloud.spanner.connection.NonExistentClass"));
"Unknown or invalid ExternalChannelProvider class name:"
+ " com.google.cloud.spanner.connection.NonExistentClass"));
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,8 @@ public void testGrpcInterceptorProvider_NonExistentClass() throws Throwable {
exception
.getMessage()
.contains(
"Unknown or invalid GrpcInterceptorProvider class name: com.google.cloud.spanner.connection.NonExistentClass"));
"Unknown or invalid GrpcInterceptorProvider class name:"
+ " com.google.cloud.spanner.connection.NonExistentClass"));
});
}

Expand Down
Loading