Disable NetworkStatsRecorder Test

Disable test since it won't pass until prebuilt module updated.

Ignore-AOSP-First: urgent fix and will cherry-pick immediately after.
Bug: 233828210
Bug: 234099453
Test: FrameworksNetTests
(merged-in tag is pointed to an unrelated CL that only exists on
aosp and its downstreams, to make this CL doesn't get merged in aosp downstreams)

Change-Id: I81b43e6a1410e7cf241487ef213acf0cbcfd019d
Merged-In: I47fb59334d00ae7fee91c5694548b3cf89b09b2d
This commit is contained in:
Aaron Huang
2022-06-17 03:44:55 +08:00
parent 692baa7d71
commit befadfe3d1

View File

@@ -39,6 +39,7 @@ import com.android.testutils.DevSdkIgnoreRule;
import com.android.testutils.DevSdkIgnoreRunner; import com.android.testutils.DevSdkIgnoreRunner;
import org.junit.Before; import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.mockito.Mock; import org.mockito.Mock;
@@ -67,6 +68,7 @@ public final class NetworkStatsRecorderTest {
HOUR_IN_MILLIS, false /* includeTags */, wipeOnError); HOUR_IN_MILLIS, false /* includeTags */, wipeOnError);
} }
@Ignore // TODO(b/234099453): re-enable as soon as prebuilts are updated.
@Test @Test
public void testWipeOnError() throws Exception { public void testWipeOnError() throws Exception {
final FileRotator rotator = mock(FileRotator.class); final FileRotator rotator = mock(FileRotator.class);