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

Commit 2c674b82 authored by Gavin Corkery's avatar Gavin Corkery Committed by Automerger Merge Worker
Browse files

Merge "Reduce minimum time threshold on dumpstate_smoke_test" am: 90e554ef...

Merge "Reduce minimum time threshold on dumpstate_smoke_test" am: 90e554ef am: 3f598dd7 am: 79f49108

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1959201

Change-Id: I31fadbc52cf1b6361e434ae8d3844d96c60cb20f
parents ea38ca2a 79f49108
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.";
}

/**