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 21
21
import android .content .Intent ;
22
22
import android .support .test .InstrumentationRegistry ;
23
23
import android .support .test .espresso .Espresso ;
24
+ import android .support .test .espresso .IdlingPolicies ;
24
25
import android .support .test .espresso .idling .CountingIdlingResource ;
25
26
import android .support .test .filters .LargeTest ;
26
27
import android .support .test .rule .ActivityTestRule ;
@@ -162,6 +163,9 @@ protected void after() {
162
163
163
164
@ Test
164
165
public void experimentActivationForWhitelistUser () throws Exception {
166
+ IdlingPolicies .setMasterPolicyTimeout (3 , TimeUnit .MINUTES );
167
+ IdlingPolicies .setIdlingResourceTimeout (3 , TimeUnit .MINUTES );
168
+
165
169
// Check that the text was changed.
166
170
// These tests are pointed at a real project.
167
171
// 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