Fixed CVS-66710 (#7805)

This commit is contained in:
Ilya Lavrenov 2021-10-01 22:54:06 +03:00 committed by GitHub
parent 6f69166f37
commit 056515e735
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,7 +88,8 @@ void HeteroSyntheticTest::SetUp() {
for (auto&& pluginParameter : std::get<Plugin>(param)) {
bool registred = true;
try {
PluginCache::get().ie()->RegisterPlugin(pluginParameter._location, pluginParameter._name);
PluginCache::get().ie()->RegisterPlugin(pluginParameter._location
+ IE_BUILD_POSTFIX, pluginParameter._name);
} catch (InferenceEngine::Exception& ex) {
if (std::string{ex.what()}.find("Device with \"" + pluginParameter._name
+ "\" is already registered in the InferenceEngine")