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

Commit 888ba1a8 authored by John Wu's avatar John Wu
Browse files

Re-enable MonotonicClockTest.corruptedFile()

Ravenwood is updated to properly support the test case.

Bug: 321832617
Flag: TEST_ONLY
Test: atest FrameworksCoreTestsRavenwood
Change-Id: I3e7d0bfe34f70e587ad1d86bb6b7359c4ef72ec0
parent 7aea47ea
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -18,7 +18,6 @@ package com.android.internal.os;

import static com.google.common.truth.Truth.assertThat;

import android.platform.test.annotations.IgnoreUnderRavenwood;
import android.platform.test.ravenwood.RavenwoodRule;

import androidx.test.filters.SmallTest;
@@ -77,7 +76,6 @@ public class MonotonicClockTest {
    }

    @Test
    @IgnoreUnderRavenwood(reason = "b/321832617")
    public void corruptedFile() throws IOException {
        // Create an invalid binary XML file to cause IOException: "Unexpected magic number"
        try (FileWriter w = new FileWriter(mFile)) {