mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 22:04:26 +00:00
Do not generate failed status on allocation failure am: 72415bcfa3
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/18625205 Change-Id: I37b66210298a1c58ebb4601f9d422359f1e41dc9 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -153,7 +153,6 @@ class GraphicsTestsBase {
|
||||
if (error == EX_SERVICE_SPECIFIC) {
|
||||
error = status.getServiceSpecificError();
|
||||
EXPECT_NE(OK, error) << "Failed to set error properly";
|
||||
EXPECT_EQ(OK, error) << "Failed to allocate";
|
||||
} else {
|
||||
EXPECT_EQ(OK, error) << "Allocation transport failure";
|
||||
}
|
||||
@@ -375,4 +374,4 @@ INSTANTIATE_TEST_CASE_P(
|
||||
[](auto info) -> std::string {
|
||||
std::string name = std::to_string(info.index) + "/" + std::get<2>(info.param).name;
|
||||
return Sanitize(name);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user