diff options
author | nsofya <nsofya@yandex-team.ru> | 2022-02-10 16:49:52 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:52 +0300 |
commit | 2ea6d2c7415473747379b1c65468241b431057ad (patch) | |
tree | 667f873e5a94ca0042984be80442f34aac887f7d /library/cpp/testing/unittest/tests_data.h | |
parent | edee5b99e1eec042f46725b89dcd81ea7e41d663 (diff) | |
download | ydb-2ea6d2c7415473747379b1c65468241b431057ad.tar.gz |
Restoring authorship annotation for <nsofya@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/testing/unittest/tests_data.h')
-rw-r--r-- | library/cpp/testing/unittest/tests_data.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/testing/unittest/tests_data.h b/library/cpp/testing/unittest/tests_data.h index 6536bc1ae6..43d9d66513 100644 --- a/library/cpp/testing/unittest/tests_data.h +++ b/library/cpp/testing/unittest/tests_data.h @@ -7,8 +7,8 @@ #include <util/generic/string.h> #include <util/network/sock.h> -class TInet6StreamSocket; - +class TInet6StreamSocket; + // set two options: SO_REUSEADDR and SO_REUSEPORT, both are required for // correct implementation of TPortManager because of different operating systems // incompatibility: singe SO_REUSEADDR is enough for Linux, but not enough for Darwin @@ -34,7 +34,7 @@ public: // Gets free TCP port ui16 GetPort(ui16 port = 0); - + // Gets free TCP port ui16 GetTcpPort(ui16 port = 0); @@ -49,6 +49,6 @@ public: private: class TPortManagerImpl; THolder<TPortManagerImpl> Impl_; -}; +}; ui16 GetRandomPort(); |