diff options
| author | 2022-01-27 11:34:11 +0000 | |
|---|---|---|
| committer | 2022-01-27 11:34:11 +0000 | |
| commit | 3f598dd77a910dfb1ad1b73e93168f56cfbb9da6 (patch) | |
| 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
| -rw-r--r-- | cmds/dumpstate/tests/dumpstate_smoke_test.cpp | 8 |
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."; } /** |