Commit c40926da authored by Nicholas Poon's avatar Nicholas Poon Committed by npoon@mozilla.com
Browse files

Bug 1966228 - Disable baseline profile CUJ generation from shipping with fenix...

Bug 1966228 - Disable baseline profile CUJ generation from shipping with fenix builds r=android-reviewers,mstange,calu

Differential Revision: https://phabricator.services.mozilla.com/D249457
parent 4bdf0a74
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -16,9 +16,7 @@ import org.mozilla.fenix.benchmark.utils.TARGET_PACKAGE
import org.mozilla.fenix.benchmark.utils.clearPackageData
import org.mozilla.fenix.benchmark.utils.completeBrowserJourney
import org.mozilla.fenix.benchmark.utils.completeOnboarding
import org.mozilla.fenix.benchmark.utils.dismissWallpaperOnboarding
import org.mozilla.fenix.benchmark.utils.isFirstIteration
import org.mozilla.fenix.benchmark.utils.isWallpaperOnboardingShown

/**
 * This test class generates a baseline profile on a critical user journey, that does some web browsing,
@@ -48,7 +46,8 @@ import org.mozilla.fenix.benchmark.utils.isWallpaperOnboardingShown
@RequiresApi(Build.VERSION_CODES.P)
@RunWith(AndroidJUnit4::class)
@BaselineProfileGenerator
@Ignore("Disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1964970")
@Ignore("Disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1964970, " +
    "https://bugzilla.mozilla.org/show_bug.cgi?id=1966228")
class BrowserJourneyBaselineProfileGenerator {

    @get:Rule
+2 −1
Original line number Diff line number Diff line
@@ -43,7 +43,8 @@ import org.mozilla.fenix.benchmark.utils.TARGET_PACKAGE
@RequiresApi(Build.VERSION_CODES.P)
@RunWith(AndroidJUnit4::class)
@BaselineProfileGenerator
@Ignore("Disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1964970")
@Ignore("Disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1964970, " +
    "https://bugzilla.mozilla.org/show_bug.cgi?id=1966228")
class LaunchIntentBaselineProfileGenerator {

    @get:Rule
+2 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ import android.os.Build
import androidx.annotation.RequiresApi
import androidx.benchmark.macro.junit4.BaselineProfileRule
import androidx.test.ext.junit.runners.AndroidJUnit4
import org.junit.Ignore
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith
@@ -43,6 +44,7 @@ import org.mozilla.fenix.benchmark.utils.completeOnboarding
@RequiresApi(Build.VERSION_CODES.P)
@RunWith(AndroidJUnit4::class)
@BaselineProfileGenerator
@Ignore("Disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1966228")
class OnboardingBaselineProfileGenerator {

    @get:Rule