summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Gavin Corkery <gavincorkery@google.com> 2020-10-21 12:55:17 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2020-10-21 12:55:17 +0000
commit1c6bbc01be602deee396b2cfccdcb8f13f2bd2ba (patch)
treec171b3bb4b1c04f22c1ded3ee0469a7023f7332b
parent3b45f3e84e9aa7f02be26b8ce0ab3f82ad0e3039 (diff)
parenta205e4c7889e71beb4b5d996634455a6e70b0581 (diff)
Merge changes from topic "bugreporting-aosp-sync" am: e33307926c am: a6f23701ac am: 5fccda2ffe am: a205e4c788
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1465983 Change-Id: I9c2b7d758cb043fd9565397cbdfad866ed51d88a
-rw-r--r--cmds/dumpstate/tests/dumpstate_smoke_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds/dumpstate/tests/dumpstate_smoke_test.cpp b/cmds/dumpstate/tests/dumpstate_smoke_test.cpp
index bb0e5ad148..2c800c6882 100644
--- a/cmds/dumpstate/tests/dumpstate_smoke_test.cpp
+++ b/cmds/dumpstate/tests/dumpstate_smoke_test.cpp
@@ -239,10 +239,10 @@ TEST_F(ZippedBugreportGenerationTest, IsGeneratedWithoutErrors) {
EXPECT_EQ(access(getZipFilePath().c_str(), F_OK), 0);
}
-TEST_F(ZippedBugreportGenerationTest, Is3MBMBinSize) {
+TEST_F(ZippedBugreportGenerationTest, Is1MBMBinSize) {
struct stat st;
EXPECT_EQ(stat(getZipFilePath().c_str(), &st), 0);
- EXPECT_GE(st.st_size, 3000000 /* 3MB */);
+ EXPECT_GE(st.st_size, 1000000 /* 1MB */);
}
TEST_F(ZippedBugreportGenerationTest, TakesBetween30And300Seconds) {