diff options
| author | nsofya <[email protected]> | 2022-02-10 16:49:52 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:52 +0300 |
| commit | 3f5911a056d3dbc4bfd724740244a3a9c11575ef (patch) | |
| tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/testing/unittest/tests_data.h | |
| parent | 2ea6d2c7415473747379b1c65468241b431057ad (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 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 43d9d665132..6536bc1ae69 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(); |
