Apply WindowTestRunner to RefreshRatePolicyTest

That fixes the race condition by the runner automatically locking the
window manager global lock.

Bug: 153707947
Test: atest RefreshRatePolicyTest
Change-Id: Ib2d6e76472934c90b438733835398878c1298dea
This commit is contained in:
Chilun
2020-04-20 15:52:35 +08:00
committed by Chilun Huang
parent 28665792a2
commit 01182606dd

View File

@@ -33,6 +33,7 @@ import androidx.test.filters.SmallTest;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
/**
* Build/Install/Run:
@@ -40,6 +41,7 @@ import org.junit.Test;
*/
@SmallTest
@Presubmit
@RunWith(WindowTestRunner.class)
@FlakyTest
public class RefreshRatePolicyTest extends WindowTestsBase {