Skip to content

Commit

Permalink
Remove redundant test (openvinotoolkit#25480)
Browse files Browse the repository at this point in the history
### Details:
- "canSetExclusiveAsyncRequests" & "withoutExclusiveAsyncRequests" do
the same thing. Will remove one
 - Clean code used for API 1.0

### Tickets:
 - [29948](https://jira.devtools.intel.com/browse/CVS-129948)

Signed-off-by: Zhai, Xuejun <[email protected]>
  • Loading branch information
zhaixuejun1993 authored Jul 15, 2024
1 parent dcdfdc5 commit ae4404d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
6 changes: 0 additions & 6 deletions src/tests/functional/plugin/shared/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,6 @@ ov_build_target_faster(${TARGET_NAME}
PCH PRIVATE "src/precomp.hpp"
)

if (ENABLE_INTEL_CPU)
set_source_files_properties(
"${CMAKE_CURRENT_SOURCE_DIR}/src/behavior/ov_executable_network/get_metric.cpp"
PROPERTIES COMPILE_DEFINITIONS ENABLE_INTEL_CPU=1)
endif()

# install & export

ov_developer_package_export_targets(TARGET ${TARGET_NAME}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,17 +92,6 @@ TEST_P(InferRequestPropertiesTest, canSetExclusiveAsyncRequests) {
}
}

TEST_P(InferRequestPropertiesTest, withoutExclusiveAsyncRequests) {
ASSERT_EQ(0ul, ov::threading::executor_manager()->get_executors_number());
OV_ASSERT_NO_THROW(createInferRequestWithConfig());
if (target_device.find(ov::test::utils::DEVICE_AUTO) == std::string::npos &&
target_device.find(ov::test::utils::DEVICE_MULTI) == std::string::npos &&
target_device.find(ov::test::utils::DEVICE_HETERO) == std::string::npos &&
target_device.find(ov::test::utils::DEVICE_BATCH) == std::string::npos) {
ASSERT_EQ(streamExecutorNumber, ov::threading::executor_manager()->get_executors_number());
}
}

TEST_P(InferRequestPropertiesTest, ReusableCPUStreamsExecutor) {
ov::threading::executor_manager()->clear();
ASSERT_EQ(0u, ov::threading::executor_manager()->get_executors_number());
Expand Down

0 comments on commit ae4404d

Please sign in to comment.