summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2025-09-08 17:21:31 +0300
committerrobot-piglet <[email protected]>2025-09-08 17:31:48 +0300
commit549867baf0c5e07d269ee9e6f910b4d3b215af20 (patch)
treec5b5e63dadd81d8c585d7fc1936009fc5a4afa51
parent2e28ab2b8c2f904adf31f8e71b2c5e034d316493 (diff)
Intermediate changes
commit_hash:291178596efd6954fede0f6a293535805fc6229d
-rw-r--r--yql/essentials/utils/log/log_ut.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/yql/essentials/utils/log/log_ut.cpp b/yql/essentials/utils/log/log_ut.cpp
index a0eacecbb33..721d4b38904 100644
--- a/yql/essentials/utils/log/log_ut.cpp
+++ b/yql/essentials/utils/log/log_ut.cpp
@@ -589,7 +589,11 @@ Y_UNIT_TEST_SUITE(TLogTest)
UNIT_ASSERT_EQUAL(logRow.Level, ELevel::INFO);
UNIT_ASSERT_EQUAL(logRow.Component, EComponent::Perf);
UNIT_ASSERT_EQUAL(logRow.Component, EComponent::Performance);
+#ifdef _win_
+ std::regex re("Execution of \\[[NTestSuiteTLogTest::Func1\\] took [0-9\\.]+us");
+#else
std::regex re("Execution of \\[Func1\\] took [0-9\\.]+us");
+#endif
bool isMatch = std::regex_match(logRow.Message.c_str(), re);
UNIT_ASSERT_C(isMatch, "Unexpected message: " << logRow.Message);
}