[CONFORMANCE] Fix throws tests on KEY_MULTI_DEVICE_PRIORITIES (#14446)
* [CONFORMANCE] Fix throws tests on KEY_MULTI_DEVICE_PRIORITIES * Update test name in skip configs
This commit is contained in:
parent
a234d45b6c
commit
f5a52dd732
@ -174,7 +174,6 @@ std::vector<std::string> disabledTestPatterns() {
|
|||||||
R"(.*OVClass.*QueryNetwork.*QueryNetwork(HETEROWithDeviceIDNoThrow|WithDeviceID|WithBigDeviceIDThrows|WithInvalidDeviceIDThrows|HETEROWithBigDeviceIDThrows).*)",
|
R"(.*OVClass.*QueryNetwork.*QueryNetwork(HETEROWithDeviceIDNoThrow|WithDeviceID|WithBigDeviceIDThrows|WithInvalidDeviceIDThrows|HETEROWithBigDeviceIDThrows).*)",
|
||||||
R"(.*OVClass.*LoadNetwork.*(DeviceID|MultiWithoutSettingDevicePrioritiesThrows).*)",
|
R"(.*OVClass.*LoadNetwork.*(DeviceID|MultiWithoutSettingDevicePrioritiesThrows).*)",
|
||||||
R"(.*OVClassLoadNetworkTest.*QueryNetwork(MULTIWithHETERO|HETEROWithMULTI)NoThrow_V10.*)",
|
R"(.*OVClassLoadNetworkTest.*QueryNetwork(MULTIWithHETERO|HETEROWithMULTI)NoThrow_V10.*)",
|
||||||
R"(.*OVClassNetworkTestP.*QueryNetworkMultiThrows.*)",
|
|
||||||
R"(.*CachingSupportCase.*LoadNetworkCacheTestBase.*(TIwithLSTMcell1|MatMulBias|2InputSubtract)_(i|u).*)",
|
R"(.*CachingSupportCase.*LoadNetworkCacheTestBase.*(TIwithLSTMcell1|MatMulBias|2InputSubtract)_(i|u).*)",
|
||||||
R"(.*CachingSupportCase.*ReadConcatSplitAssign.*)",
|
R"(.*CachingSupportCase.*ReadConcatSplitAssign.*)",
|
||||||
R"(.*IEClassQueryNetworkTest.*QueryNetwork.*)",
|
R"(.*IEClassQueryNetworkTest.*QueryNetwork.*)",
|
||||||
|
@ -111,8 +111,6 @@ std::vector<std::string> disabledTestPatterns() {
|
|||||||
R"(.*DeviceID.*)",
|
R"(.*DeviceID.*)",
|
||||||
// CVS-95608
|
// CVS-95608
|
||||||
R"(.*CachingSupportCase.*CompileModelCacheTestBase.*)",
|
R"(.*CachingSupportCase.*CompileModelCacheTestBase.*)",
|
||||||
R"(.*OVClassNetworkTestP.*QueryNetworkMultiThrows.*)",
|
|
||||||
R"(.*OVClassNetworkTestP.*LoadNetworkMultiWithoutSettingDevicePrioritiesThrows.*)",
|
|
||||||
R"(.*OVClassLoadNetworkTest.*QueryNetworkMULTIWithHETERONoThrow_V10.*)",
|
R"(.*OVClassLoadNetworkTest.*QueryNetworkMULTIWithHETERONoThrow_V10.*)",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -622,7 +622,7 @@ TEST_P(OVClassNetworkTestP, QueryNetworkHeteroActualNoThrow) {
|
|||||||
ASSERT_LT(0, res.size());
|
ASSERT_LT(0, res.size());
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_P(OVClassNetworkTestP, QueryNetworkMultiThrows) {
|
TEST_P(OVClassNetworkTestP, QueryNetworkMultiNoThrows) {
|
||||||
ov::Core ie = createCoreWithTemplate();
|
ov::Core ie = createCoreWithTemplate();
|
||||||
ASSERT_NO_THROW(ie.query_model(actualNetwork, CommonTestUtils::DEVICE_MULTI));
|
ASSERT_NO_THROW(ie.query_model(actualNetwork, CommonTestUtils::DEVICE_MULTI));
|
||||||
}
|
}
|
||||||
@ -970,7 +970,15 @@ TEST_P(OVClassNetworkTestP, LoadNetworkActualNoThrow) {
|
|||||||
|
|
||||||
TEST_P(OVClassNetworkTestP, LoadNetworkMultiWithoutSettingDevicePrioritiesThrows) {
|
TEST_P(OVClassNetworkTestP, LoadNetworkMultiWithoutSettingDevicePrioritiesThrows) {
|
||||||
ov::Core ie = createCoreWithTemplate();
|
ov::Core ie = createCoreWithTemplate();
|
||||||
|
try {
|
||||||
ie.compile_model(actualNetwork, CommonTestUtils::DEVICE_MULTI);
|
ie.compile_model(actualNetwork, CommonTestUtils::DEVICE_MULTI);
|
||||||
|
} catch (ov::Exception& error) {
|
||||||
|
EXPECT_PRED_FORMAT2(testing::IsSubstring,
|
||||||
|
std::string("KEY_MULTI_DEVICE_PRIORITIES key is not set for"),
|
||||||
|
error.what());
|
||||||
|
} catch (...) {
|
||||||
|
FAIL() << "compile_model is failed for unexpected reason.";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_P(OVClassNetworkTestP, LoadNetworkActualHeteroDeviceNoThrow) {
|
TEST_P(OVClassNetworkTestP, LoadNetworkActualHeteroDeviceNoThrow) {
|
||||||
|
Loading…
Reference in New Issue
Block a user