kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [kudu] 03/04: [mini-cluster] check for failures in TestKerberosReacquire
Date Thu, 26 Sep 2019 17:12:01 GMT
This is an automated email from the ASF dual-hosted git repository.

adar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git

commit 69cbf8526b4ef5f5b19e7a19f1993a7a9bcd536a
Author: Alexey Serbin <alexey@apache.org>
AuthorDate: Wed Sep 25 17:32:15 2019 -0700

    [mini-cluster] check for failures in TestKerberosReacquire
    
    Wrapped SmokeTestKerberizedCluster() into NO_FATALS()
    in ExternalMiniClusterTest.TestKerberosReacquire scenario.
    
    Change-Id: I2790bd461cea5caf4ba03b3487600f92362ddc89
    Reviewed-on: http://gerrit.cloudera.org:8080/14305
    Tested-by: Alexey Serbin <aserbin@cloudera.com>
    Reviewed-by: Adar Dembo <adar@cloudera.com>
---
 src/kudu/mini-cluster/external_mini_cluster-test.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/kudu/mini-cluster/external_mini_cluster-test.cc b/src/kudu/mini-cluster/external_mini_cluster-test.cc
index 08891f3..8e60bfa 100644
--- a/src/kudu/mini-cluster/external_mini_cluster-test.cc
+++ b/src/kudu/mini-cluster/external_mini_cluster-test.cc
@@ -111,7 +111,7 @@ void SmokeTestKerberizedCluster(ExternalMiniClusterOptions opts) {
 }
 
 TEST_F(ExternalMiniClusterTest, TestKerberosReacquire) {
-  if (!AllowSlowTests()) return;
+  SKIP_IF_SLOW_NOT_ALLOWED();
 
   ExternalMiniClusterOptions opts;
   opts.enable_kerberos = true;
@@ -120,7 +120,7 @@ TEST_F(ExternalMiniClusterTest, TestKerberosReacquire) {
   opts.mini_kdc_options.ticket_lifetime = "15s";
   opts.num_tablet_servers = 1;
 
-  SmokeTestKerberizedCluster(std::move(opts));
+  NO_FATALS(SmokeTestKerberizedCluster(std::move(opts)));
 }
 
 TEST_P(ExternalMiniClusterTest, TestBasicOperation) {


Mime
View raw message