Skip to content

Commit 4a870d8

Browse files
authored
Rename TCPTransportTests to TcpTransportTests (#26954)
Our convention is to use lower case when naming things "Tcp". For example, `TcpTransport`. This commit renames the outlier (TcpTransportTests) to use lower case.
1 parent b63f718 commit 4a870d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/test/java/org/elasticsearch/transport/TCPTransportTests.java renamed to core/src/test/java/org/elasticsearch/transport/TcpTransportTests.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
import static org.hamcrest.Matchers.equalTo;
4747

4848
/** Unit tests for TCPTransport */
49-
public class TCPTransportTests extends ESTestCase {
49+
public class TcpTransportTests extends ESTestCase {
5050

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

0 commit comments

Comments
 (0)