aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/messagebus/test
diff options
context:
space:
mode:
authorcepera <cepera@yandex-team.ru>2022-02-10 16:49:45 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:45 +0300
commit99e67b1db27953625d41d1f3eb45ff2517b4d697 (patch)
treee54d1799e55c6a3c58feb227f2a1f22aa07912c0 /library/cpp/messagebus/test
parent28045de07753ee182fc8e5ca778469d7a7c5bb20 (diff)
downloadydb-99e67b1db27953625d41d1f3eb45ff2517b4d697.tar.gz
Restoring authorship annotation for <cepera@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/messagebus/test')
-rw-r--r--library/cpp/messagebus/test/TestMessageBus.py8
-rw-r--r--library/cpp/messagebus/test/perftest/perftest.cpp4
2 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/messagebus/test/TestMessageBus.py b/library/cpp/messagebus/test/TestMessageBus.py
index 0bbaa0a313..057e1cde46 100644
--- a/library/cpp/messagebus/test/TestMessageBus.py
+++ b/library/cpp/messagebus/test/TestMessageBus.py
@@ -1,8 +1,8 @@
from devtools.fleur.ytest import group, constraint
from devtools.fleur.ytest.integration import UnitTestGroup
-
-@group
-@constraint('library.messagebus')
+
+@group
+@constraint('library.messagebus')
class TestMessageBus(UnitTestGroup):
- def __init__(self, context):
+ def __init__(self, context):
UnitTestGroup.__init__(self, context, 'MessageBus', 'library-messagebus-test-ut')
diff --git a/library/cpp/messagebus/test/perftest/perftest.cpp b/library/cpp/messagebus/test/perftest/perftest.cpp
index 8489319278..8350a6b01b 100644
--- a/library/cpp/messagebus/test/perftest/perftest.cpp
+++ b/library/cpp/messagebus/test/perftest/perftest.cpp
@@ -212,7 +212,7 @@ struct TTestStats {
return AtomicGet(Replies);
}
- double GetThroughput() {
+ double GetThroughput() {
return NumReplies() * 1000000.0 / (TInstant::Now() - Start).MicroSeconds();
}
@@ -491,7 +491,7 @@ TPerftestConfig::TPerftestConfig() {
ServerPort = DEFAULT_PORT;
Delay = 0; // artificial delay inside server OnMessage()
- MessageSize = 200;
+ MessageSize = 200;
Failure = 0.00;
Run = 60; // in seconds
Nodes = "localhost";