Skip to content

Commit

Permalink
Rename TCPTransportTests to TcpTransportTests (#26954)
Browse files Browse the repository at this point in the history
Our convention is to use lower case when naming things "Tcp". For
example, `TcpTransport`. This commit renames the outlier
(TcpTransportTests) to use lower case.
  • Loading branch information
Tim-Brooks authored Oct 11, 2017
1 parent b63f718 commit 4a870d8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
import static org.hamcrest.Matchers.equalTo;

/** Unit tests for TCPTransport */
public class TCPTransportTests extends ESTestCase {
public class TcpTransportTests extends ESTestCase {

/** Test ipv4 host with a default port works */
public void testParseV4DefaultPort() throws Exception {
Expand Down Expand Up @@ -175,7 +175,7 @@ public void testCompressRequest() throws IOException {
final boolean compressed = randomBoolean();
final AtomicBoolean called = new AtomicBoolean(false);
Req request = new Req(randomRealisticUnicodeOfLengthBetween(10, 100));
ThreadPool threadPool = new TestThreadPool(TCPTransportTests.class.getName());
ThreadPool threadPool = new TestThreadPool(TcpTransportTests.class.getName());
AtomicReference<IOException> exceptionReference = new AtomicReference<>();
try {
TcpTransport transport = new TcpTransport("test", Settings.builder().put("transport.tcp.compress", compressed).build(),
Expand Down

0 comments on commit 4a870d8

Please sign in to comment.