aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/testing/common/ut/network_ut.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add GetPort(port) support to maintain compatibility with unittest TPortManageralexv-smirnov2023-03-101-1/+53
| | | | | Singleton did not allow reinitialisation, so in existing tests this line https://a.yandex-team.ru/arcadia/library/cpp/testing/common/ut/network_ut.cpp?rev=rXXXXXX#L45 did not have any effect. The tests worked just because in both tests the env var PORT_SYNC_PATH was the same and its changes did not affect the tests anyway. As we need to change the env var NO_RANDOM_PORTS to run GetPort( port ) test, I had to make a reinitialisation method, which is now being called from inside the constructor, causing its double invocation during the tests. I could not find a better solution for Singleton(
* Restoring authorship annotation for <bulatman@yandex-team.ru>. Commit 2 of 2.bulatman2022-02-101-54/+54
|
* Restoring authorship annotation for <bulatman@yandex-team.ru>. Commit 1 of 2.bulatman2022-02-101-54/+54
|
* intermediate changesDevtools Arcadia2022-02-071-0/+54
ref:cde9a383711a11544ce7e107a78147fb96cc4029