From 0373d1e09e687fc26ee3357cdf14127c2647e51b Mon Sep 17 00:00:00 2001 From: "Liu, Dan1" Date: Fri, 15 Nov 2024 18:07:11 +0800 Subject: [PATCH] fix --- .../tests/functional/internal/overload/driver_caching.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/intel_npu/tests/functional/internal/overload/driver_caching.hpp b/src/plugins/intel_npu/tests/functional/internal/overload/driver_caching.hpp index 0256a651faf269..b26a06234178ae 100644 --- a/src/plugins/intel_npu/tests/functional/internal/overload/driver_caching.hpp +++ b/src/plugins/intel_npu/tests/functional/internal/overload/driver_caching.hpp @@ -166,7 +166,7 @@ TEST_P(CompileAndDriverCaching, CompilationCacheWithEmptyConfig) { std::string firstCompilationDriverLog = ::intel_npu::zeroUtils::getLatestBuildError(graph_ddi_table_ext); //To avoid problems with repeatedly calling functiontest - EXPECT_TRUE(containsCacheStatus(firstCompilationDriverLog, "cache_status_t::stored") || containsCacheStatus(firstCompilationDriverLog, "cache_status_t::found")); + EXPECT_TRUE(containsCacheStatus(firstCompilationDriverLog, "cache_status_t::stored")); checkCacheDirectory(); //second compilation @@ -176,7 +176,7 @@ TEST_P(CompileAndDriverCaching, CompilationCacheWithEmptyConfig) { std::chrono::duration durationSecond = endSecond - startSecond; std::string secondCompilationDriverLog = ::intel_npu::zeroUtils::getLatestBuildError(graph_ddi_table_ext); - EXPECT_TRUE(containsCacheStatus(secondCompilationDriverLog, "cache_status_t::stored") || containsCacheStatus(secondCompilationDriverLog, "cache_status_t::found")); + EXPECT_TRUE(containsCacheStatus(secondCompilationDriverLog, "cache_status_t::found")); std::printf("==[1.4]testsuit time (1): %f, (2): %f\n", durationFirst.count(), durationSecond.count()); checkCacheDirectory();