From 4c0aac5a60c91fa31e3f54974504f83bcadf174b Mon Sep 17 00:00:00 2001 From: Luwei Ge Date: Fri, 9 Feb 2024 18:52:14 +0000 Subject: [PATCH] fix the wrong override --- test/cpp/end2end/tls_credentials_test.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/cpp/end2end/tls_credentials_test.cc b/test/cpp/end2end/tls_credentials_test.cc index 1c3fd83708278..3d942be57cc13 100644 --- a/test/cpp/end2end/tls_credentials_test.cc +++ b/test/cpp/end2end/tls_credentials_test.cc @@ -20,6 +20,7 @@ #include #include +#include "absl/status/status.h" #include "absl/synchronization/notification.h" #include @@ -32,7 +33,6 @@ #include #include "src/core/lib/iomgr/load_file.h" -#include "test/core/util/port.h" #include "test/core/util/test_config.h" #include "test/cpp/end2end/test_service_impl.h" @@ -68,8 +68,8 @@ class NoOpCertificateVerifier : public ExternalCertificateVerifier { return true; } - void Cancel(grpc::experimental::TlsCustomVerificationCheckRequest*) override { - } + void Cancel(grpc::experimental::TlsCustomVerificationCheckRequest*, + const absl::Status&) override {} }; class TlsCredentialsTest : public ::testing::Test {