summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-08-08 12:24:31 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-08-08 12:24:31 +0000
commit543a4f0e09c6b0a137b3619150656dcb71dd333b (patch)
tree23ffb0e285a8b9d701fab60a7c436f39969f8320
parent5c38a19b4b4b9470ce853fe7f957ddab570266fd (diff)
parentfb8eacf653f036400aea981a1bc219101457e066 (diff)
downloadgsid-543a4f0e09c6b0a137b3619150656dcb71dd333b.tar.gz
Change-Id: I4fd7b5bbdd63436cedaabb7f10e886bbfb89e775
-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";