You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Yifan Zhang (Code Review)" <ge...@cloudera.org> on 2019/08/26 11:14:03 UTC
[kudu-CR] [test] move filter tests from ksck-test to ksck remote-test
Yifan Zhang has uploaded this change for review. ( http://gerrit.cloudera.org:8080/14142
Change subject: [test] move filter tests from ksck-test to ksck_remote-test
......................................................................
[test] move filter tests from ksck-test to ksck_remote-test
Some filter tests in ksck-test just tested filter functions
in MockKsckCluster class, but RemoteKsckCluster class which
is used by CLI tool hasn't been tested. It seems unreasonable.
This patch moved filter tests to ksck_remote-test, so filter
functions in RemoteKsckCluster could be tested.
Change-Id: I1139bf9b3582ac9fa45bf341ec5b97f8048c92b0
---
M src/kudu/tools/ksck-test.cc
M src/kudu/tools/ksck_remote-test.cc
2 files changed, 227 insertions(+), 170 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/42/14142/1
--
To view, visit http://gerrit.cloudera.org:8080/14142
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1139bf9b3582ac9fa45bf341ec5b97f8048c92b0
Gerrit-Change-Number: 14142
Gerrit-PatchSet: 1
Gerrit-Owner: Yifan Zhang <ch...@163.com>
[kudu-CR] [test] move filter tests from ksck-test to ksck remote-test
Posted by "Yifan Zhang (Code Review)" <ge...@cloudera.org>.
Hello Tidy Bot, Kudu Jenkins, Adar Dembo,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/14142
to look at the new patch set (#4).
Change subject: [test] move filter tests from ksck-test to ksck_remote-test
......................................................................
[test] move filter tests from ksck-test to ksck_remote-test
Some filter tests in ksck-test just tested filter functions
in MockKsckCluster class, but RemoteKsckCluster class which
is used by CLI tool hasn't been tested. It seems unreasonable.
This patch implemented same functional tests in ksck_remote-test,
and removed original tests in ksck-test.
Change-Id: I1139bf9b3582ac9fa45bf341ec5b97f8048c92b0
---
M src/kudu/tools/ksck-test.cc
M src/kudu/tools/ksck_remote-test.cc
2 files changed, 230 insertions(+), 171 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/42/14142/4
--
To view, visit http://gerrit.cloudera.org:8080/14142
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I1139bf9b3582ac9fa45bf341ec5b97f8048c92b0
Gerrit-Change-Number: 14142
Gerrit-PatchSet: 4
Gerrit-Owner: Yifan Zhang <ch...@163.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)
[kudu-CR] [test] move filter tests from ksck-test to ksck remote-test
Posted by "Adar Dembo (Code Review)" <ge...@cloudera.org>.
Adar Dembo has posted comments on this change. ( http://gerrit.cloudera.org:8080/14142 )
Change subject: [test] move filter tests from ksck-test to ksck_remote-test
......................................................................
Patch Set 3:
(4 comments)
http://gerrit.cloudera.org:8080/#/c/14142/3//COMMIT_MSG
Commit Message:
http://gerrit.cloudera.org:8080/#/c/14142/3//COMMIT_MSG@12
PS3, Line 12: This patch moved filter tests to ksck_remote-test
Besides the two new functions, are there any other functional changes? Or just code motion?
http://gerrit.cloudera.org:8080/#/c/14142/3/src/kudu/tools/ksck_remote-test.cc
File src/kudu/tools/ksck_remote-test.cc:
http://gerrit.cloudera.org:8080/#/c/14142/3/src/kudu/tools/ksck_remote-test.cc@233
PS3, Line 233: void CreateTableWithNoTablet(const string& table_name) {
Calls to this function should wrap it with NO_FATALS() in case one of the ASSERTs fires.
http://gerrit.cloudera.org:8080/#/c/14142/3/src/kudu/tools/ksck_remote-test.cc@239
PS3, Line 239: CHECK_OK(b.Build(&schema));
ASSERT_OK here.
http://gerrit.cloudera.org:8080/#/c/14142/3/src/kudu/tools/ksck_remote-test.cc@264
PS3, Line 264: vector<string> *
vector<string>*
--
To view, visit http://gerrit.cloudera.org:8080/14142
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I1139bf9b3582ac9fa45bf341ec5b97f8048c92b0
Gerrit-Change-Number: 14142
Gerrit-PatchSet: 3
Gerrit-Owner: Yifan Zhang <ch...@163.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)
Gerrit-Comment-Date: Mon, 26 Aug 2019 22:17:27 +0000
Gerrit-HasComments: Yes
[kudu-CR] [test] move filter tests from ksck-test to ksck remote-test
Posted by "Yifan Zhang (Code Review)" <ge...@cloudera.org>.
Hello Tidy Bot, Kudu Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/14142
to look at the new patch set (#2).
Change subject: [test] move filter tests from ksck-test to ksck_remote-test
......................................................................
[test] move filter tests from ksck-test to ksck_remote-test
Some filter tests in ksck-test just tested filter functions
in MockKsckCluster class, but RemoteKsckCluster class which
is used by CLI tool hasn't been tested. It seems unreasonable.
This patch moved filter tests to ksck_remote-test, so filter
functions in RemoteKsckCluster could be tested.
Change-Id: I1139bf9b3582ac9fa45bf341ec5b97f8048c92b0
---
M src/kudu/tools/ksck-test.cc
M src/kudu/tools/ksck_remote-test.cc
2 files changed, 229 insertions(+), 171 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/42/14142/2
--
To view, visit http://gerrit.cloudera.org:8080/14142
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I1139bf9b3582ac9fa45bf341ec5b97f8048c92b0
Gerrit-Change-Number: 14142
Gerrit-PatchSet: 2
Gerrit-Owner: Yifan Zhang <ch...@163.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)
[kudu-CR] [test] move filter tests from ksck-test to ksck remote-test
Posted by "Adar Dembo (Code Review)" <ge...@cloudera.org>.
Adar Dembo has posted comments on this change. ( http://gerrit.cloudera.org:8080/14142 )
Change subject: [test] move filter tests from ksck-test to ksck_remote-test
......................................................................
Patch Set 4: Code-Review+2
--
To view, visit http://gerrit.cloudera.org:8080/14142
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I1139bf9b3582ac9fa45bf341ec5b97f8048c92b0
Gerrit-Change-Number: 14142
Gerrit-PatchSet: 4
Gerrit-Owner: Yifan Zhang <ch...@163.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)
Gerrit-Reviewer: Yifan Zhang <ch...@163.com>
Gerrit-Comment-Date: Tue, 27 Aug 2019 04:16:21 +0000
Gerrit-HasComments: No
[kudu-CR] [test] move filter tests from ksck-test to ksck remote-test
Posted by "Yifan Zhang (Code Review)" <ge...@cloudera.org>.
Hello Tidy Bot, Kudu Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/14142
to look at the new patch set (#3).
Change subject: [test] move filter tests from ksck-test to ksck_remote-test
......................................................................
[test] move filter tests from ksck-test to ksck_remote-test
Some filter tests in ksck-test just tested filter functions
in MockKsckCluster class, but RemoteKsckCluster class which
is used by CLI tool hasn't been tested. It seems unreasonable.
This patch moved filter tests to ksck_remote-test, so filter
functions in RemoteKsckCluster could be tested.
Change-Id: I1139bf9b3582ac9fa45bf341ec5b97f8048c92b0
---
M src/kudu/tools/ksck-test.cc
M src/kudu/tools/ksck_remote-test.cc
2 files changed, 230 insertions(+), 171 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/42/14142/3
--
To view, visit http://gerrit.cloudera.org:8080/14142
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I1139bf9b3582ac9fa45bf341ec5b97f8048c92b0
Gerrit-Change-Number: 14142
Gerrit-PatchSet: 3
Gerrit-Owner: Yifan Zhang <ch...@163.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)
[kudu-CR] [test] move filter tests from ksck-test to ksck remote-test
Posted by "Adar Dembo (Code Review)" <ge...@cloudera.org>.
Adar Dembo has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/14142 )
Change subject: [test] move filter tests from ksck-test to ksck_remote-test
......................................................................
[test] move filter tests from ksck-test to ksck_remote-test
Some filter tests in ksck-test just tested filter functions
in MockKsckCluster class, but RemoteKsckCluster class which
is used by CLI tool hasn't been tested. It seems unreasonable.
This patch implemented same functional tests in ksck_remote-test,
and removed original tests in ksck-test.
Change-Id: I1139bf9b3582ac9fa45bf341ec5b97f8048c92b0
Reviewed-on: http://gerrit.cloudera.org:8080/14142
Tested-by: Kudu Jenkins
Reviewed-by: Adar Dembo <ad...@cloudera.com>
---
M src/kudu/tools/ksck-test.cc
M src/kudu/tools/ksck_remote-test.cc
2 files changed, 230 insertions(+), 171 deletions(-)
Approvals:
Kudu Jenkins: Verified
Adar Dembo: Looks good to me, approved
--
To view, visit http://gerrit.cloudera.org:8080/14142
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I1139bf9b3582ac9fa45bf341ec5b97f8048c92b0
Gerrit-Change-Number: 14142
Gerrit-PatchSet: 5
Gerrit-Owner: Yifan Zhang <ch...@163.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)
Gerrit-Reviewer: Yifan Zhang <ch...@163.com>
[kudu-CR] [test] move filter tests from ksck-test to ksck remote-test
Posted by "Yifan Zhang (Code Review)" <ge...@cloudera.org>.
Yifan Zhang has posted comments on this change. ( http://gerrit.cloudera.org:8080/14142 )
Change subject: [test] move filter tests from ksck-test to ksck_remote-test
......................................................................
Patch Set 4:
(4 comments)
http://gerrit.cloudera.org:8080/#/c/14142/3//COMMIT_MSG
Commit Message:
http://gerrit.cloudera.org:8080/#/c/14142/3//COMMIT_MSG@12
PS3, Line 12: This patch implemented same functional tests in k
> Besides the two new functions, are there any other functional changes? Or j
No functional changes, just implements the same functional tests in ksck_remote-test.
http://gerrit.cloudera.org:8080/#/c/14142/3/src/kudu/tools/ksck_remote-test.cc
File src/kudu/tools/ksck_remote-test.cc:
http://gerrit.cloudera.org:8080/#/c/14142/3/src/kudu/tools/ksck_remote-test.cc@233
PS3, Line 233: void CreateTableWithNoTablet(const string& table_name) {
> Calls to this function should wrap it with NO_FATALS() in case one of the A
Done
http://gerrit.cloudera.org:8080/#/c/14142/3/src/kudu/tools/ksck_remote-test.cc@239
PS3, Line 239: ASSERT_OK(b.Build(&schema));
> ASSERT_OK here.
Done
http://gerrit.cloudera.org:8080/#/c/14142/3/src/kudu/tools/ksck_remote-test.cc@264
PS3, Line 264: vector<string>*
> vector<string>*
Done
--
To view, visit http://gerrit.cloudera.org:8080/14142
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I1139bf9b3582ac9fa45bf341ec5b97f8048c92b0
Gerrit-Change-Number: 14142
Gerrit-PatchSet: 4
Gerrit-Owner: Yifan Zhang <ch...@163.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)
Gerrit-Reviewer: Yifan Zhang <ch...@163.com>
Gerrit-Comment-Date: Tue, 27 Aug 2019 03:40:09 +0000
Gerrit-HasComments: Yes