Fix flaky two panel TAPL tests v2
Cuttlefish emulators are getting slower and slower and some of the two panel related TAPL tests were failing due to multiple page changes instead of single ones, so we need to increase the page change hover time in the tests. Test: atest -c NexusLauncherTests:com.android.launcher3.ui.workspace.TwoPanelWorkspaceTest Bug: 236136463 Change-Id: I8007a73a17089a7f7a639ce615af52695b55002c
This commit is contained in:
@@ -26,7 +26,7 @@ import com.android.launcher3.Workspace;
|
||||
public class SpringLoadedDragController implements OnAlarmListener {
|
||||
// how long the user must hover over a mini-screen before it unshrinks
|
||||
private static final long ENTER_SPRING_LOAD_HOVER_TIME = 500;
|
||||
private static final long ENTER_SPRING_LOAD_HOVER_TIME_IN_TEST = 1500;
|
||||
private static final long ENTER_SPRING_LOAD_HOVER_TIME_IN_TEST = 2000;
|
||||
private static final long ENTER_SPRING_LOAD_CANCEL_HOVER_TIME = 950;
|
||||
|
||||
Alarm mAlarm;
|
||||
|
||||
Reference in New Issue
Block a user