Skip to content

Commit

Permalink
Longer native timeouts for Android (wix#2420)
Browse files Browse the repository at this point in the history
  • Loading branch information
d4vidi authored Oct 18, 2020
1 parent bde4d7a commit 3ec20a3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import java.util.concurrent.TimeUnit
*/
class DetoxIdlePolicyConfig {
/** Directly binds to [IdlingPolicies.setMasterPolicyTimeout]. Applied in seconds. */
@JvmField var masterTimeoutSec = 120
@JvmField var masterTimeoutSec = 240

/** Directly binds to [IdlingPolicies.setIdlingResourceTimeout]. Applied in seconds. */
@JvmField var idleResourceTimeoutSec = 60
@JvmField var idleResourceTimeoutSec = 180

fun apply() {
IdlingPolicies.setMasterPolicyTimeout(masterTimeoutSec.toLong(), TimeUnit.SECONDS)
Expand Down

0 comments on commit 3ec20a3

Please sign in to comment.