kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject [1/8] incubator-kudu git commit: Add ASAN disabler to twitter oauth test
Date Wed, 06 Jan 2016 23:46:13 GMT
Repository: incubator-kudu
Updated Branches:
  refs/heads/master bf1f244fb -> 2187df374


Add ASAN disabler to twitter oauth test

Change-Id: I7f0d98fa9b1cde9a0ebef2a5a0c3c346c0445ac7
Reviewed-on: http://gerrit.cloudera.org:8080/1704
Reviewed-by: Todd Lipcon <todd@cloudera.com>
Tested-by: Internal Jenkins


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

Branch: refs/heads/master
Commit: 8ff679fb6aae253a82655a2029aa4dd8581bcb74
Parents: bf1f244
Author: Dan Burkert <dan@cloudera.com>
Authored: Tue Jan 5 10:35:27 2016 -0800
Committer: Dan Burkert <dan@danburkert.com>
Committed: Tue Jan 5 22:07:16 2016 +0000

----------------------------------------------------------------------
 src/kudu/twitter-demo/oauth-test.cc | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/8ff679fb/src/kudu/twitter-demo/oauth-test.cc
----------------------------------------------------------------------
diff --git a/src/kudu/twitter-demo/oauth-test.cc b/src/kudu/twitter-demo/oauth-test.cc
index 4f3f0b1..604e5c1 100644
--- a/src/kudu/twitter-demo/oauth-test.cc
+++ b/src/kudu/twitter-demo/oauth-test.cc
@@ -18,6 +18,8 @@
 #include <gtest/gtest.h>
 #include <string>
 
+#include "kudu/util/debug/leakcheck_disabler.h"
+
 using std::string;
 
 namespace kudu {
@@ -31,6 +33,9 @@ TEST(OAuthTest, TestSignature) {
   const string kTokenKey = "nnch734d00sl2jdk";
   const string kTokenSecret = "pfkkdhi9sl3r4s00";
 
+  // Necessary to squelch a leak originating in the NSS SSL library.
+  debug::ScopedLeakCheckDisabler disabler;
+
   OAuthRequest req("GET", "http://photos.example.net/photos");
 
   req.AddPair("oauth_consumer_key", kConsumerKey);


Mime
View raw message