Hello Kudu Jenkins, Grant Henke, Hao Hao, Bankim Bhavsar,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/15786

to look at the new patch set (#2).

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
---
M src/kudu/integration-tests/security-itest.cc
1 file changed, 10 insertions(+), 7 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/86/15786/2
--
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: newpatchset
Gerrit-Change-Id: I765e9f1f6cd208f86bc321e962588982f9e01447
Gerrit-Change-Number: 15786
Gerrit-PatchSet: 2
Gerrit-Owner: 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)

Reply via email to