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

Commit e74a38d4 authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Hypothetically fix test flake

I can't repro the flake, but hardcode the times in case that helps

Test: atest RankingHelperTest#testSortByRecencyNotIntrusiveness  --rerun-until-failure 50
Bug: 332155790
Change-Id: Iecc57e887d757612246f43dfd6933a0e4a0735cd
parent 91764a35
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -207,12 +207,12 @@ public class RankingHelperTest extends UiServiceTestCase {
                .build();
        mRecentlyIntrusive = new NotificationRecord(mContext, new StatusBarNotification(
                mPkg, mPkg, 1, null, 0, 0, n, mUser,
                null, System.currentTimeMillis()+100), getDefaultChannel());
                null, 100), getDefaultChannel());
        mRecentlyIntrusive.setRecentlyIntrusive(true);

        mNewest = new NotificationRecord(mContext, new StatusBarNotification(
                mPkg, mPkg, 2, null, 0, 0, n, mUser,
                null, System.currentTimeMillis()+10000), getDefaultChannel());
                null, 10000), getDefaultChannel());
    }

    private NotificationChannel getLowChannel() {