Skip to content

Commit 29beb71

Browse files
@W-21933885: [MSDK Android] App Attestation Implementation (Increase ScreenLockActivityScenarioTest Timeout For Firebase Test Lab)
Increase global timeout from 30 to 60 seconds to prevent test timeouts on slower Firebase Test Lab devices where activity initialization takes longer than expected.
1 parent 9994387 commit 29beb71

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

libs/test/SalesforceSDKTest/src/com/salesforce/androidsdk/ui/ScreenLockActivityScenarioTest.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ import io.mockk.verify
8787
import org.junit.Assert.assertEquals
8888
import org.junit.Assert.assertFalse
8989
import org.junit.Assert.assertTrue
90-
import org.junit.Ignore
9190
import org.junit.Rule
9291
import org.junit.Test
9392
import org.junit.rules.Timeout
@@ -171,10 +170,10 @@ class ScreenLockActivityScenarioTest {
171170

172171
/**
173172
* Global timeout rule for all tests in this class.
174-
* Each test will timeout after 30 seconds to accommodate slower Firebase Test Lab devices.
173+
* Each test will timeout after 60 seconds to accommodate slower Firebase Test Lab devices.
175174
*/
176175
@get:Rule
177-
val globalTimeout: Timeout = Timeout(30, TimeUnit.SECONDS)
176+
val globalTimeout: Timeout = Timeout(60, TimeUnit.SECONDS)
178177

179178
@Test
180179
fun screenLockActivity_appliesDefaults_whenCreated() {

0 commit comments

Comments
 (0)