@@ -120,11 +120,6 @@ TEST_F(Describe, TEST_NAME(Location)) {
120120}
121121
122122TEST_F (Describe, TEST_NAME(MetricsLevel)) {
123- char * ydbVersion = std::getenv (" YDB_VERSION" );
124- if (ydbVersion != nullptr && std::string (ydbVersion) != " trunk" ) {
125- GTEST_SKIP () << " Skipping test for YDB version " << ydbVersion;
126- }
127-
128123 TTopicClient client (MakeDriver ());
129124
130125 // const std::uint32_t MetricsLevelDisabled = 0;
@@ -154,7 +149,7 @@ TEST_F(Describe, TEST_NAME(MetricsLevel)) {
154149 };
155150
156151 {
157- const std::string topic (GetTopicPath ( " topic-with-counters" ) );
152+ const std::string topic (" topic-with-counters" );
158153 createTopic (topic, MetricsLevelDetailed);
159154 checkFlag (topic, MetricsLevelDetailed);
160155 setMetricsLevel (topic, MetricsLevelObject);
@@ -174,7 +169,7 @@ TEST_F(Describe, TEST_NAME(MetricsLevel)) {
174169 }
175170
176171 {
177- const std::string topic (GetTopicPath ( " topic-without-counters-by-default" ) );
172+ const std::string topic (" topic-without-counters-by-default" );
178173 auto res = client.CreateTopic (topic).GetValueSync ();
179174 ASSERT_TRUE (res.IsSuccess ());
180175 Y_ENSURE (checkFlag (topic, {}));
@@ -190,7 +185,7 @@ TEST_F(Describe, TEST_NAME(MetricsLevel)) {
190185 }
191186
192187 {
193- const std::string topic (GetTopicPath ( " topic-without-counters" ) );
188+ const std::string topic (" topic-without-counters" );
194189 createTopic (topic, MetricsLevelObject);
195190 Y_ENSURE (checkFlag (topic, MetricsLevelObject));
196191 setMetricsLevel (topic, MetricsLevelDetailed);
0 commit comments