Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e6b812e6 authored by Darrell Shi's avatar Darrell Shi
Browse files

Remove flaky read_fileNotFoundException test

Test: https://android-build.corp.google.com/abtd/run/L38500030003716467/
      (reproduce flake count was 20, and 
      com.android.systemui.communal.data.backup all passed)
Bug: 336561027
Fix: 336561027
Flag: n/a
Change-Id: I34abe501d6a79cc7daf7763353ffd0e1ae1fdece
parent 379f37fa
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -30,7 +30,6 @@ import java.io.FileNotFoundException
import java.nio.charset.Charset
import org.junit.After
import org.junit.Before
import org.junit.Ignore
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith
@@ -102,12 +101,6 @@ class CommunalBackupUtilsTest : SysuiTestCase() {
        assertThat(dataRead).isEqualTo(newDataToWrite)
    }

    @Ignore("Ignored until we figure out why it is flaky b/336561027")
    @Test(expected = FileNotFoundException::class)
    fun read_fileNotFoundException() {
        underTest.readBytesFromDisk()
    }

    @Test(expected = FileNotFoundException::class)
    fun clear_returnsTrueWhenFileDeleted() {
        // Write bytes to disk