Hao Hao has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/15786 )
Change subject: [test] fix TestCorruptKerberosCC scenario ...................................................................... [test] fix TestCorruptKerberosCC scenario On macOS, the SecurityITest.TestCorruptKerberosCC scenario was failing with errors like below: src/kudu/integration-tests/security-itest.cc:430: Failure Value of: s.ok() Actual: true Expected: false Google Test trace: src/kudu/integration-tests/security-itest.cc:419: Truncating ccache at 'security-itest.0.SecurityITest.TestCorruptKerberosCC/krb5kdc/krb5cc' to 500 It seems Kerberos cache truncated to 500 bytes is big enough to successfully extract necessary data on macOS. This patch decreases the size of the corrupted client cache to 266 bytes, so now the scenario passes on macOS as well. In addition, the truncation size is now selected randomly. Change-Id: I765e9f1f6cd208f86bc321e962588982f9e01447 Reviewed-on: http://gerrit.cloudera.org:8080/15786 Reviewed-by: Bankim Bhavsar <ban...@cloudera.com> Tested-by: Kudu Jenkins Reviewed-by: Grant Henke <granthe...@apache.org> --- M src/kudu/integration-tests/security-itest.cc 1 file changed, 10 insertions(+), 7 deletions(-) Approvals: Bankim Bhavsar: Looks good to me, but someone else must approve Kudu Jenkins: Verified Grant Henke: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/15786 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I765e9f1f6cd208f86bc321e962588982f9e01447 Gerrit-Change-Number: 15786 Gerrit-PatchSet: 3 Gerrit-Owner: Alexey Serbin <aser...@cloudera.com> Gerrit-Reviewer: Alexey Serbin <aser...@cloudera.com> Gerrit-Reviewer: Bankim Bhavsar <ban...@cloudera.com> Gerrit-Reviewer: Grant Henke <granthe...@apache.org> Gerrit-Reviewer: Hao Hao <hao....@cloudera.com> Gerrit-Reviewer: Kudu Jenkins (120)