[IE][VPU][TESTS]: Fix for myriad stress test (#4902)

Reused inputs for cycling infer requests in MultipleAllocations test.
This commit is contained in:
Aleksandr Korolev 2021-03-24 14:25:06 +03:00 committed by GitHub
parent 985adb8223
commit 4cac858346
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,8 +42,9 @@ TEST_P(MultipleAllocations, InferWorksCorrectAfterAllocations) {
LoadNetwork();
std::cout << "Infer(): " << j << std::flush;
GenerateInputs();
if (j == 0) {
GenerateInputs();
}
Infer();
Validate();
}