Example usage for org.apache.hadoop.minikdc MiniKdc getPort

List of usage examples for org.apache.hadoop.minikdc MiniKdc getPort

Introduction

In this page you can find the example usage for org.apache.hadoop.minikdc MiniKdc getPort.

Prototype

public int getPort() 

Source Link

Document

Returns the port of the MiniKdc.

Usage

From source file:fr.infologic.vei.sso.TestMiniKdc.java

License:Apache License

@Test
public void testMiniKdcStart() {
    MiniKdc kdc = getKdc();
    Assert.assertNotSame(0, kdc.getPort());
}