[IE TESTS] CoreThreading_LoadNetwork tests were disabled for GPU plugin (#2245)
This commit is contained in:
@@ -15,5 +15,7 @@ std::vector<std::string> disabledTestPatterns() {
|
||||
R"(.*(IEClassLoadNetwork).*(QueryNetworkMULTIWithHETERONoThrow_V10|QueryNetworkHETEROWithMULTINoThrow_V10).*)",
|
||||
//TODO: Issue: 34748
|
||||
R"(.*(ComparisonLayerTest).*)",
|
||||
// TODO: Issue: 39014
|
||||
R"(.*CoreThreadingTestsWithIterations.*smoke_LoadNetwork.*)",
|
||||
};
|
||||
}
|
||||
@@ -83,7 +83,6 @@ class CoreThreadingTests : public CoreThreadingTestsBase,
|
||||
public ::testing::TestWithParam<Params> {
|
||||
public:
|
||||
void SetUp() override {
|
||||
SKIP_IF_CURRENT_TEST_IS_DISABLED()
|
||||
std::tie(deviceName, config) = GetParam();
|
||||
}
|
||||
|
||||
@@ -105,8 +104,8 @@ public:
|
||||
|
||||
// tested function: GetVersions, UnregisterPlugin
|
||||
TEST_P(CoreThreadingTests, smoke_GetVersions) {
|
||||
SKIP_IF_CURRENT_TEST_IS_DISABLED()
|
||||
InferenceEngine::Core ie;
|
||||
|
||||
runParallel([&] () {
|
||||
auto versions = ie.GetVersions(deviceName);
|
||||
ASSERT_LE(1u, versions.size());
|
||||
@@ -116,6 +115,8 @@ TEST_P(CoreThreadingTests, smoke_GetVersions) {
|
||||
|
||||
// tested function: SetConfig for already created plugins
|
||||
TEST_P(CoreThreadingTests, smoke_SetConfigPluginExists) {
|
||||
SKIP_IF_CURRENT_TEST_IS_DISABLED()
|
||||
|
||||
InferenceEngine::Core ie;
|
||||
|
||||
ie.SetConfig(config);
|
||||
@@ -128,6 +129,8 @@ TEST_P(CoreThreadingTests, smoke_SetConfigPluginExists) {
|
||||
|
||||
// tested function: GetConfig, UnregisterPlugin
|
||||
TEST_P(CoreThreadingTests, smoke_GetConfig) {
|
||||
SKIP_IF_CURRENT_TEST_IS_DISABLED()
|
||||
|
||||
InferenceEngine::Core ie;
|
||||
std::string configKey = config.begin()->first;
|
||||
|
||||
@@ -140,6 +143,8 @@ TEST_P(CoreThreadingTests, smoke_GetConfig) {
|
||||
|
||||
// tested function: GetMetric, UnregisterPlugin
|
||||
TEST_P(CoreThreadingTests, smoke_GetMetric) {
|
||||
SKIP_IF_CURRENT_TEST_IS_DISABLED()
|
||||
|
||||
InferenceEngine::Core ie;
|
||||
runParallel([&] () {
|
||||
ie.GetMetric(deviceName, METRIC_KEY(SUPPORTED_CONFIG_KEYS));
|
||||
@@ -149,6 +154,8 @@ TEST_P(CoreThreadingTests, smoke_GetMetric) {
|
||||
|
||||
// tested function: QueryNetwork
|
||||
TEST_P(CoreThreadingTests, smoke_QueryNetwork) {
|
||||
SKIP_IF_CURRENT_TEST_IS_DISABLED()
|
||||
|
||||
InferenceEngine::Core ie;
|
||||
auto model = FuncTestUtils::TestModel::convReluNormPoolFcModelFP32;
|
||||
auto network = ie.ReadNetwork(model.model_xml_str, model.weights_blob);
|
||||
@@ -182,7 +189,6 @@ class CoreThreadingTestsWithIterations : public ::testing::TestWithParam<CoreThr
|
||||
public CoreThreadingTestsBase {
|
||||
public:
|
||||
void SetUp() override {
|
||||
SKIP_IF_CURRENT_TEST_IS_DISABLED()
|
||||
std::tie(deviceName, config) = std::get<0>(GetParam());
|
||||
numThreads = std::get<1>(GetParam());
|
||||
numIterations = std::get<2>(GetParam());
|
||||
@@ -213,6 +219,8 @@ public:
|
||||
|
||||
// tested function: LoadNetwork, AddExtension
|
||||
TEST_P(CoreThreadingTestsWithIterations, smoke_LoadNetwork) {
|
||||
SKIP_IF_CURRENT_TEST_IS_DISABLED()
|
||||
|
||||
InferenceEngine::Core ie;
|
||||
std::atomic<unsigned int> counter{0u};
|
||||
|
||||
@@ -240,6 +248,8 @@ TEST_P(CoreThreadingTestsWithIterations, smoke_LoadNetwork) {
|
||||
|
||||
// tested function: LoadNetwork accuracy
|
||||
TEST_P(CoreThreadingTestsWithIterations, smoke_LoadNetworkAccuracy) {
|
||||
SKIP_IF_CURRENT_TEST_IS_DISABLED()
|
||||
|
||||
InferenceEngine::Core ie;
|
||||
std::atomic<unsigned int> counter{0u};
|
||||
|
||||
@@ -300,6 +310,8 @@ TEST_P(CoreThreadingTestsWithIterations, smoke_LoadNetworkAccuracy) {
|
||||
|
||||
// tested function: ReadNetwork, SetConfig, LoadNetwork, AddExtension
|
||||
TEST_P(CoreThreadingTestsWithIterations, smoke_LoadNetwork_MultipleIECores) {
|
||||
SKIP_IF_CURRENT_TEST_IS_DISABLED()
|
||||
|
||||
std::atomic<unsigned int> counter{0u};
|
||||
|
||||
// TODO: replace with subgraph builders after fixing *-31414
|
||||
|
||||
Reference in New Issue
Block a user