aboutsummaryrefslogtreecommitdiffstats
path: root/util/network/sock_ut.cpp
diff options
context:
space:
mode:
authorrdna <rdna@yandex-team.ru>2022-02-10 16:48:05 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:05 +0300
commit37a2795395ba606e239b750ff2afb17905274ec4 (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /util/network/sock_ut.cpp
parent7804d69d166cc162c0be19dafd698a6ad7e42b25 (diff)
downloadydb-37a2795395ba606e239b750ff2afb17905274ec4.tar.gz
Restoring authorship annotation for <rdna@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/network/sock_ut.cpp')
-rw-r--r--util/network/sock_ut.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/util/network/sock_ut.cpp b/util/network/sock_ut.cpp
index 6621e42a8e..fd8c783747 100644
--- a/util/network/sock_ut.cpp
+++ b/util/network/sock_ut.cpp
@@ -73,13 +73,13 @@ Y_UNIT_TEST_SUITE(TSocketTest) {
}
template <class A, class S>
- void RunInetStreamTest(const char* ip) {
+ void RunInetStreamTest(const char* ip) {
char buf[256];
- A servAddr(ip, 0);
- A newAddr;
- S cliSock;
- S servSock;
- S newSock;
+ A servAddr(ip, 0);
+ A newAddr;
+ S cliSock;
+ S servSock;
+ S newSock;
cliSock.CheckSock();
servSock.CheckSock();
newSock.CheckSock();
@@ -112,13 +112,13 @@ Y_UNIT_TEST_SUITE(TSocketTest) {
}
Y_UNIT_TEST(InetStreamTest) {
- RunInetStreamTest<TSockAddrInetStream, TInetStreamSocket>("127.0.0.1");
- }
-
+ RunInetStreamTest<TSockAddrInetStream, TInetStreamSocket>("127.0.0.1");
+ }
+
Y_UNIT_TEST(Inet6StreamTest) {
- RunInetStreamTest<TSockAddrInet6Stream, TInet6StreamSocket>("::1");
- }
-
+ RunInetStreamTest<TSockAddrInet6Stream, TInet6StreamSocket>("::1");
+ }
+
void RunLocalStreamTest(const char* localServerSockName) {
char buf[256];
TSockAddrLocalStream servAddr(localServerSockName);