Skip to content

Commit

Permalink
[api conformance] Fix extra crash in report (openvinotoolkit#22468)
Browse files Browse the repository at this point in the history
Co-authored-by: Irina Efode <[email protected]>
  • Loading branch information
sbalandi and iefode authored Jan 31, 2024
1 parent 3b26778 commit e40e5b8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,13 @@ class CoreThreadingTestsWithCacheEnabled : public testing::WithParamInterface<Co
std::stringstream ss;
ss << std::this_thread::get_id();
cache_path = "threading_test" + std::to_string(hash) + "_" + ss.str() + "_" + GetTimestamp() + "_cache";
APIBaseTest::SetUp();
}

void TearDown() override {
ov::test::utils::removeFilesWithExt(cache_path, "blob");
std::remove(cache_path.c_str());
APIBaseTest::TearDown();
}

static std::string getTestCaseName(testing::TestParamInfo<CoreThreadingParams> obj) {
Expand Down Expand Up @@ -411,6 +413,7 @@ class CoreThreadingTestsWithIter : public testing::WithParamInterface<CoreThread
std::tie(target_device, config) = std::get<0>(GetParam());
numThreads = std::get<1>(GetParam());
numIterations = std::get<2>(GetParam());
APIBaseTest::SetUp();
}

static std::string getTestCaseName(testing::TestParamInfo<CoreThreadingParams> obj) {
Expand Down

0 comments on commit e40e5b8

Please sign in to comment.