Skip to content

Commit

Permalink
[security] moved mini_kdc into the test subdir
Browse files Browse the repository at this point in the history
Moved mini_kdc code into the test sub-directory.
The idea of moving is inspired by Todd's comment on
  https://gerrit.cloudera.org/#/c/4926/

There are no functional changes in this patch.

Change-Id: I5f678f59e1911fd89191bd9b5dfb840e20d746a1
Reviewed-on: http://gerrit.cloudera.org:8080/4965
Tested-by: Kudu Jenkins
Reviewed-by: Will Berkeley <[email protected]>
  • Loading branch information
alexeyserbin authored and wdberkeley committed Nov 5, 2016
1 parent 81f645c commit c25aea4
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/kudu/integration-tests/external_mini_cluster-test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include "kudu/gutil/stl_util.h"
#include "kudu/gutil/strings/substitute.h"
#include "kudu/gutil/strings/util.h"
#include "kudu/security/mini_kdc.h"
#include "kudu/security/test/mini_kdc.h"
#include "kudu/util/metrics.h"
#include "kudu/util/net/net_util.h"
#include "kudu/util/test_util.h"
Expand Down
2 changes: 1 addition & 1 deletion src/kudu/integration-tests/external_mini_cluster.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include "kudu/gutil/strings/util.h"
#include "kudu/master/master.proxy.h"
#include "kudu/master/master_rpc.h"
#include "kudu/security/mini_kdc.h"
#include "kudu/security/test/mini_kdc.h"
#include "kudu/server/server_base.pb.h"
#include "kudu/server/server_base.proxy.h"
#include "kudu/tserver/tserver_service.proxy.h"
Expand Down
2 changes: 1 addition & 1 deletion src/kudu/rpc/sasl_rpc-test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include "kudu/rpc/sasl_client.h"
#include "kudu/rpc/sasl_common.h"
#include "kudu/rpc/sasl_server.h"
#include "kudu/security/mini_kdc.h"
#include "kudu/security/test/mini_kdc.h"
#include "kudu/util/monotime.h"
#include "kudu/util/net/sockaddr.h"
#include "kudu/util/net/socket.h"
Expand Down
4 changes: 2 additions & 2 deletions src/kudu/security/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# under the License.

set(SECURITY_TEST_SRCS
mini_kdc.cc
test/mini_kdc.cc
)

add_library(security-test ${SECURITY_TEST_SRCS})
Expand All @@ -30,4 +30,4 @@ set(KUDU_TEST_LINK_LIBS
security-test
${KUDU_MIN_TEST_LIBS})

ADD_KUDU_TEST(mini_kdc-test)
ADD_KUDU_TEST(test/mini_kdc-test)
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include <gtest/gtest.h>

#include "kudu/security/mini_kdc.h"
#include "kudu/security/test/mini_kdc.h"
#include "kudu/util/env.h"
#include "kudu/util/test_util.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

#include "kudu/security/mini_kdc.h"
#include "kudu/security/test/mini_kdc.h"

#include <csignal>
#include <stdlib.h>
Expand Down
File renamed without changes.

0 comments on commit c25aea4

Please sign in to comment.