Yingchun Lai has uploaded this change for review. ( http://gerrit.cloudera.org:8080/20592
Change subject: refactor: move SetEncryptionFlags to constructors ...................................................................... refactor: move SetEncryptionFlags to constructors SetEncryptionFlags() is a test util function used to enable or disable encryption in unit tests. In some parameterize tests, SetEncryptionFlags() calls are distributed in many test cases, there is a risk that missing to call it if add new test cases. This patch moves the function call to the constructors, also changes TEST_F to TEST_P for test LogBlockManagerTest.TestContainerBlockLimitingByMetadataSizeWithCompaction Change-Id: I67dca5a45f78de87309d0434c3b003a83f28e1a6 --- M src/kudu/consensus/consensus_meta-test.cc M src/kudu/fs/log_block_manager-test.cc M src/kudu/util/file_cache-test.cc 3 files changed, 42 insertions(+), 70 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/92/20592/1 -- To view, visit http://gerrit.cloudera.org:8080/20592 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I67dca5a45f78de87309d0434c3b003a83f28e1a6 Gerrit-Change-Number: 20592 Gerrit-PatchSet: 1 Gerrit-Owner: Yingchun Lai <[email protected]>
