diff --git a/src/tests/functional/plugin/cpu/single_layer_tests/eye.cpp b/src/tests/functional/plugin/cpu/single_layer_tests/eye.cpp index 7b9b727a4be..e40f6baa573 100644 --- a/src/tests/functional/plugin/cpu/single_layer_tests/eye.cpp +++ b/src/tests/functional/plugin/cpu/single_layer_tests/eye.cpp @@ -113,7 +113,10 @@ protected: if (i == 3) { // batch shape tensor = ov::Tensor(funcInput.get_element_type(), targetInputStaticShapes[i]); int *batchShapePtr = tensor.data(); - for (size_t j = 0; j < targetInputStaticShapes[i].size(); j++) { + // Spec: batch_shape - 1D tensor with non-negative values of type T_NUM defines leading batch dimensions of output shape + EXPECT_EQ(targetInputStaticShapes[i].size(), 1); + EXPECT_EQ(targetInputStaticShapes[i][0], outBatchShape.size()); + for (size_t j = 0; j < targetInputStaticShapes[i][0]; j++) { batchShapePtr[j] = outBatchShape[j]; } } else {