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

Commit faa5e05b authored by Darrell Shi's avatar Darrell Shi Committed by Android (Google) Code Review
Browse files

Merge "Remove flaky read_fileNotFoundException test" into main

parents 4f549327 e6b812e6
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