Search in sources :

Example 1 with StandardSocketFactory

use of org.apache.hadoop.net.StandardSocketFactory in project hadoop by apache.

the class TestSocketFactory method testStandardSocketFactory.

/**
   * Test StandardSocketFactory.
   */
@Test(timeout = 5000)
public void testStandardSocketFactory() throws Exception {
    startTestServer();
    testSocketFactory(new StandardSocketFactory());
}
Also used : StandardSocketFactory(org.apache.hadoop.net.StandardSocketFactory) Test(org.junit.Test)

Aggregations

StandardSocketFactory (org.apache.hadoop.net.StandardSocketFactory)1 Test (org.junit.Test)1