summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-02-23 00:06:24 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-02-23 00:06:24 +0000
commita678f1f1171eec0ca830114fa262a0e90eba3558 (patch)
treeffb39e693ad307cd4eb5f6756653abdc53026c3f
parent4d0cafa8ee8c8c20609ac463170a806718772e3c (diff)
parentc5c891ac69e8e08a31f3adc66cce087661f58ad1 (diff)
downloadnative-a678f1f1171eec0ca830114fa262a0e90eba3558.tar.gz
Snap for 8209856 from c5c891ac69e8e08a31f3adc66cce087661f58ad1 to sc-qpr3-release
Change-Id: I1bcf683394666238c81f9af25ec6a28e439029ce
-rw-r--r--cmds/dumpstate/tests/dumpstate_smoke_test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmds/dumpstate/tests/dumpstate_smoke_test.cpp b/cmds/dumpstate/tests/dumpstate_smoke_test.cpp
index 0712c0adcd..28e5ee2ca9 100644
--- a/cmds/dumpstate/tests/dumpstate_smoke_test.cpp
+++ b/cmds/dumpstate/tests/dumpstate_smoke_test.cpp
@@ -240,11 +240,11 @@ TEST_F(ZippedBugreportGenerationTest, Is1MBMBinSize) {
EXPECT_GE(st.st_size, 1000000 /* 1MB */);
}
-TEST_F(ZippedBugreportGenerationTest, TakesBetween30And300Seconds) {
- EXPECT_GE(duration, 30s) << "Expected completion in more than 30s. Actual time "
- << duration.count() << " s.";
+TEST_F(ZippedBugreportGenerationTest, TakesBetween20And300Seconds) {
+ EXPECT_GE(duration, 20s) << "Expected completion in more than 20s. Actual time "
+ << duration.count() << " ms.";
EXPECT_LE(duration, 300s) << "Expected completion in less than 300s. Actual time "
- << duration.count() << " s.";
+ << duration.count() << " ms.";
}
/**