Marking test as @Flaky

BouncerSwipeTouchHandlerTest#testSessionStart has high flakiness rate so disabling it in more sensitive test suites.

Bug: 218269836
Test: presubmit
Change-Id: Ie215cfd6e07cfd76531f620f393281d5a58f2483
This commit is contained in:
Michal Brzezinski
2022-02-07 10:36:32 +01:00
parent dbad339f5f
commit 13d998f6dd

View File

@@ -32,6 +32,7 @@ import android.view.GestureDetector;
import android.view.MotionEvent;
import android.view.VelocityTracker;
import androidx.test.filters.FlakyTest;
import androidx.test.filters.SmallTest;
import com.android.systemui.SysuiTestCase;
@@ -117,6 +118,7 @@ public class BouncerSwipeTouchHandlerTest extends SysuiTestCase {
/**
* Ensures expansion only happens when touch down happens in valid part of the screen.
*/
@FlakyTest
@Test
public void testSessionStart() {
mTouchHandler.onSessionStart(mTouchSession);