You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by al...@apache.org on 2021/03/09 04:07:30 UTC
[kudu] branch master updated: [client] fix compilation warning in
scan_token-test.cc
This is an automated email from the ASF dual-hosted git repository.
alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
The following commit(s) were added to refs/heads/master by this push:
new 4abb4ea [client] fix compilation warning in scan_token-test.cc
4abb4ea is described below
commit 4abb4eae4375fd25fa21c5a4469937cca4795672
Author: Alexey Serbin <al...@apache.org>
AuthorDate: Mon Mar 8 16:59:17 2021 -0800
[client] fix compilation warning in scan_token-test.cc
With the newer gtest library, the INSTANTIATE_TEST_CASE_P macro was
deprecated in favor of INSTANTIATE_TEST_SUITE_P.
This changelist is a follow-up to 074e7e9a0 and doesn't contain
any functional changes.
Change-Id: I98c6b1d9931b6e9b2543e007a3f0a80b05ff80b4
Reviewed-on: http://gerrit.cloudera.org:8080/17162
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <as...@cloudera.com>
---
src/kudu/client/scan_token-test.cc | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/kudu/client/scan_token-test.cc b/src/kudu/client/scan_token-test.cc
index df49bf6..71dbaf6 100644
--- a/src/kudu/client/scan_token-test.cc
+++ b/src/kudu/client/scan_token-test.cc
@@ -43,7 +43,6 @@
#include "kudu/common/common.pb.h"
#include "kudu/common/partial_row.h"
#include "kudu/common/wire_protocol.pb.h"
-#include "kudu/gutil/macros.h"
#include "kudu/gutil/ref_counted.h"
#include "kudu/gutil/stl_util.h"
#include "kudu/gutil/strings/substitute.h"
@@ -1058,9 +1057,8 @@ TEST_P(StaleScanTokensParamTest, DroppingFirstRange) {
ASSERT_EQ(expected_row_count, row_count_b);
}
-INSTANTIATE_TEST_CASE_P(FirstRangeDropped, StaleScanTokensParamTest,
- testing::Range(FirstRangeChangeMode::BEGIN,
- FirstRangeChangeMode::END));
-
+INSTANTIATE_TEST_SUITE_P(FirstRangeDropped, StaleScanTokensParamTest,
+ testing::Range(FirstRangeChangeMode::BEGIN,
+ FirstRangeChangeMode::END));
} // namespace client
} // namespace kudu