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

Commit 42349d03 authored by Yu Shan Emily Lau's avatar Yu Shan Emily Lau
Browse files

Remove the checkStremingServer checking as it is unstable and introduce the flakiness.

Change-Id: I26e48366998e3692ad8a3394a0a0241832e99a6d
parent 70c294b2
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -439,7 +439,7 @@ public class MediaPlayerApiTest extends ActivityInstrumentationTestCase<MediaFra
    
    @MediumTest
    public void testPrepareAsyncReset() throws Exception {
      assertTrue(MediaFrameworkTest.checkStreamingServer());
      //assertTrue(MediaFrameworkTest.checkStreamingServer());
      boolean isReset = CodecTest.prepareAsyncReset(MediaNames.STREAM_MP3);
      assertTrue("PrepareAsync Reset", isReset);         
    }
@@ -472,7 +472,7 @@ public class MediaPlayerApiTest extends ActivityInstrumentationTestCase<MediaFra
    
    @LargeTest
    public void testStreamPrepareAsyncCallback() throws Exception {
        assertTrue(MediaFrameworkTest.checkStreamingServer());
        //assertTrue(MediaFrameworkTest.checkStreamingServer());
        boolean onPrepareSuccess = 
            CodecTest.prepareAsyncCallback(MediaNames.STREAM_H264_480_360_1411k, false);
        assertTrue("StreamH264PrepareAsyncCallback", onPrepareSuccess);
@@ -480,7 +480,7 @@ public class MediaPlayerApiTest extends ActivityInstrumentationTestCase<MediaFra
    
    @LargeTest
    public void testStreamPrepareAsyncCallbackReset() throws Exception {
        assertTrue(MediaFrameworkTest.checkStreamingServer());
        //assertTrue(MediaFrameworkTest.checkStreamingServer());
        boolean onPrepareSuccess = 
            CodecTest.prepareAsyncCallback(MediaNames.STREAM_H264_480_360_1411k, true);
        assertTrue("StreamH264PrepareAsyncCallback", onPrepareSuccess);