File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
test-app/src/androidTest/java/com/optimizely/ab/android/test_app Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 2121import android .content .Intent ;
2222import android .support .test .InstrumentationRegistry ;
2323import android .support .test .espresso .Espresso ;
24+ import android .support .test .espresso .IdlingPolicies ;
2425import android .support .test .espresso .idling .CountingIdlingResource ;
2526import android .support .test .filters .LargeTest ;
2627import android .support .test .rule .ActivityTestRule ;
@@ -162,6 +163,9 @@ protected void after() {
162163
163164 @ Test
164165 public void experimentActivationForWhitelistUser () throws Exception {
166+ IdlingPolicies .setMasterPolicyTimeout (3 , TimeUnit .MINUTES );
167+ IdlingPolicies .setIdlingResourceTimeout (3 , TimeUnit .MINUTES );
168+
165169 // Check that the text was changed.
166170 // These tests are pointed at a real project.
167171 // The user 'test_user` is in the whitelist for variation_a for experiment background_experiment
You can’t perform that action at this time.
0 commit comments