mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 07:05:49 +03:00
DocumentsStorageProviderIT: add timeout to testServerChangedFileContent()
This test sometimes hangs forever, resulting in (for example) CI builds being killed. This way, only this test fails and the rest of the suite continues. Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
This commit is contained in:
parent
e13dc5db81
commit
6f1d434e80
1 changed files with 2 additions and 1 deletions
|
@ -176,7 +176,8 @@ class DocumentsStorageProviderIT : AbstractOnServerIT() {
|
|||
assertExistsOnServer(client, ocFile1.remotePath, false)
|
||||
}
|
||||
|
||||
@Test
|
||||
@Suppress("MagicNumber")
|
||||
@Test(timeout = 5 * 60 * 1000)
|
||||
fun testServerChangedFileContent() {
|
||||
// create random file
|
||||
val file1 = rootDir.createFile("text/plain", RandomString.make())!!
|
||||
|
|
Loading…
Reference in a new issue