|
|
@ -682,7 +682,6 @@ TEST_F(CredentialsTest, LoadTlsChannelCredentials) { |
|
|
|
// This test demonstrates how the TLS credentials will be used to create
|
|
|
|
// This test demonstrates how the TLS credentials will be used to create
|
|
|
|
// server credentials.
|
|
|
|
// server credentials.
|
|
|
|
TEST_F(CredentialsTest, LoadTlsServerCredentials) { |
|
|
|
TEST_F(CredentialsTest, LoadTlsServerCredentials) { |
|
|
|
grpc_init(); |
|
|
|
|
|
|
|
std::shared_ptr<TestTlsCredentialReload> test_credential_reload( |
|
|
|
std::shared_ptr<TestTlsCredentialReload> test_credential_reload( |
|
|
|
new TestTlsCredentialReload()); |
|
|
|
new TestTlsCredentialReload()); |
|
|
|
std::shared_ptr<TlsCredentialReloadConfig> credential_reload_config( |
|
|
|
std::shared_ptr<TlsCredentialReloadConfig> credential_reload_config( |
|
|
@ -694,7 +693,6 @@ TEST_F(CredentialsTest, LoadTlsServerCredentials) { |
|
|
|
std::shared_ptr<::grpc_impl::ServerCredentials> server_credentials = |
|
|
|
std::shared_ptr<::grpc_impl::ServerCredentials> server_credentials = |
|
|
|
grpc::experimental::TlsServerCredentials(options); |
|
|
|
grpc::experimental::TlsServerCredentials(options); |
|
|
|
GPR_ASSERT(server_credentials.get() != nullptr); |
|
|
|
GPR_ASSERT(server_credentials.get() != nullptr); |
|
|
|
grpc_shutdown(); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
TEST_F(CredentialsTest, TlsCredentialReloadConfigErrorMessages) { |
|
|
|
TEST_F(CredentialsTest, TlsCredentialReloadConfigErrorMessages) { |
|
|
|