commit | 3f598dd77a910dfb1ad1b73e93168f56cfbb9da6 | [log] [tgz] |
---|---|---|
author | Gavin Corkery <gavincorkery@google.com> | Thu Jan 27 11:34:11 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Jan 27 11:34:11 2022 +0000 |
tree | d9b748ff63bc9259c51f169897fb19ce40eb6208 | |
parent | e1bf0ef0573d323a72847e0aa3733207780297b3 [diff] | |
parent | 90e554efcfd9cb3f5f88e0c79d2e00de15c2293b [diff] |
Merge "Reduce minimum time threshold on dumpstate_smoke_test" am: 90e554efcf Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1959201 Change-Id: I4191a7387d198af5c914c0d00d32764e6160a796
diff --git a/cmds/dumpstate/tests/dumpstate_smoke_test.cpp b/cmds/dumpstate/tests/dumpstate_smoke_test.cpp index 0712c0a..28e5ee2 100644 --- a/cmds/dumpstate/tests/dumpstate_smoke_test.cpp +++ b/cmds/dumpstate/tests/dumpstate_smoke_test.cpp
@@ -240,11 +240,11 @@ 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."; } /**