summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-08-10 14:14:51 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-08-10 14:14:51 +0000
commitd4bbeda858490e6cb83196e6ecb2e31c767c5d01 (patch)
tree23ffb0e285a8b9d701fab60a7c436f39969f8320
parent4bdfe3da1158880adacf31eba8ac75850ea9eae6 (diff)
parentfb8eacf653f036400aea981a1bc219101457e066 (diff)
downloadgsid-android13-mainline-art-release.tar.gz
Change-Id: I4f5b8f28be6069be94ca7f339af39abfe3e0b43f
-rw-r--r--tests/boot_tests.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/boot_tests.cpp b/tests/boot_tests.cpp
index d002c89..6aeded3 100644
--- a/tests/boot_tests.cpp
+++ b/tests/boot_tests.cpp
@@ -63,11 +63,7 @@ TEST(MetadataPartition, MinimumSize) {
ASSERT_GE(fd, 0);
uint64_t size = get_block_device_size(fd);
- if (GetVsrLevel() >= __ANDROID_API_T__) {
- ASSERT_GE(size, 67108864);
- } else {
- ASSERT_GE(size, 16777216);
- }
+ ASSERT_GE(size, 16777216);
}
TEST(Weaver, MinimumSlots) {
@@ -96,7 +92,7 @@ TEST(MetadataPartition, FsType) {
Fstab fstab;
ASSERT_TRUE(ReadDefaultFstab(&fstab));
- std::vector<std::string> mount_points = {"/data", "/metadata"};
+ std::vector<std::string> mount_points = {"/data"};
for (const auto& mount_point : mount_points) {
auto path = mount_point + "/gsi";