Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

Fix file name prefix to unique in tests (#30060)

Oleg Pipikin73736c06f946
diff --git a/src/inference/tests/functional/ov_core_threading.cpp b/src/inference/tests/functional/ov_core_threading.cpp
index 3d9e5bd16d8..9ef2f6884f4 100644
--- a/src/inference/tests/functional/ov_core_threading.cpp
+++ b/src/inference/tests/functional/ov_core_threading.cpp
@@ -106,10 +106,11 @@ TEST_F(CoreThreadingTests, RegisterPlugin) {
TEST_F(CoreThreadingTests, RegisterPlugins) {
ov::Core core;
std::atomic<unsigned int> index{0};
+ auto file_prefix = ov::test::utils::generateTestFilePrefix();
auto getPluginXml = [&]() -> std::tuple<std::string, std::string> {
std::string indexStr = std::to_string(index++);
- std::string pluginsXML = "test_plugins" + indexStr + ".xml";
+ std::string pluginsXML = file_prefix + indexStr + ".xml";
std::ofstream file(pluginsXML);
file << "<ie><plugins><plugin location=\"";