kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ale...@apache.org
Subject kudu git commit: [security-faults-itest] update expected error message
Date Fri, 09 Jun 2017 01:38:37 GMT
Repository: kudu
Updated Branches:
  refs/heads/master 557f19ea4 -> 6dade2aa0


[security-faults-itest] update expected error message

For some combination of timings in the KdcRestartsInTheMiddle scenario,
GSSAPI emits error not about expired context, but about expired
credentials.  This is legit, so we need to update the expected message
pattern correspondingly.

The example of test's output for such case can be found at
http://dist-test.cloudera.org/job?job_id=jenkins-slave.1496962083.13897

Change-Id: I9aab8f04e7c40d11ed7b786a01f35e6ef431598f
Reviewed-on: http://gerrit.cloudera.org:8080/7128
Reviewed-by: Dan Burkert <danburkert@apache.org>
Tested-by: Alexey Serbin <aserbin@cloudera.com>


Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/6dade2aa
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/6dade2aa
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/6dade2aa

Branch: refs/heads/master
Commit: 6dade2aa02238f88e78f3fc7c2fc25e972d3ea00
Parents: 557f19e
Author: Alexey Serbin <aserbin@cloudera.com>
Authored: Thu Jun 8 16:50:14 2017 -0700
Committer: Alexey Serbin <aserbin@cloudera.com>
Committed: Fri Jun 9 01:34:59 2017 +0000

----------------------------------------------------------------------
 src/kudu/integration-tests/security-faults-itest.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/6dade2aa/src/kudu/integration-tests/security-faults-itest.cc
----------------------------------------------------------------------
diff --git a/src/kudu/integration-tests/security-faults-itest.cc b/src/kudu/integration-tests/security-faults-itest.cc
index 93a9566..5b58ed4 100644
--- a/src/kudu/integration-tests/security-faults-itest.cc
+++ b/src/kudu/integration-tests/security-faults-itest.cc
@@ -233,7 +233,8 @@ TEST_F(SecurityComponentsFaultsITest, KdcRestartsInTheMiddle) {
       "Cannot contact any KDC for realm .*|"
       "Ticket expired.*|"
       "GSSAPI Error:  The context has expire.*|"
-      "GSSAPI Error: The referenced context has expired .*)");
+      "GSSAPI Error: The referenced context has expired .*|"
+      "GSSAPI Error: The referenced credential has expired .*)");
 #endif
 
   ASSERT_OK(cluster_->kdc()->Start());


Mime
View raw message