Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c5c891ac authored by Sam Dubey's avatar Sam Dubey
Browse files

Reduce minimum time threshold on dumpstate_smoke_test

Picked from aosp/1959201

Fix:220828052

Test: atest dumpstate_smoke_test:dumpstate_smoke_test.ZippedBugreportGenerationTest

Change-Id: Ic309423babba4e2d03ab7d95b9188faea79b3a41
Merged-In: I37e7707df3237f39d099484a26f195a85f16767a
parent bbd9aa6c
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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.";
}

/**