Skip to content

Commit

Permalink
fix folder issue when tear down (#14650)
Browse files Browse the repository at this point in the history
Signed-off-by: fishbell <[email protected]>

Signed-off-by: fishbell <[email protected]>
Co-authored-by: Andrei Kochin <[email protected]>
  • Loading branch information
songbell and andrei-kochin authored Dec 30, 2022
1 parent 9cddaa6 commit b26fcfb
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,11 @@ void CompileModelCacheTestBase::TearDown() {
CommonTestUtils::removeFilesWithExt(m_cacheFolderName, "blob");
std::remove(m_cacheFolderName.c_str());
core->set_property(ov::cache_dir());
try {
core->set_property(targetDevice, ov::cache_dir());
} catch (...) {
// do nothing
}
APIBaseTest::TearDown();
}

Expand Down

0 comments on commit b26fcfb

Please sign in to comment.