OSDN Git Service

Remove the checkStremingServer checking as it is unstable and introduce the flakiness.
authorYu Shan Emily Lau <yslau@google.com>
Fri, 9 Apr 2010 20:53:56 +0000 (13:53 -0700)
committerYu Shan Emily Lau <yslau@google.com>
Fri, 9 Apr 2010 20:53:56 +0000 (13:53 -0700)
Change-Id: I26e48366998e3692ad8a3394a0a0241832e99a6d

media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaPlayerApiTest.java

index ee6067a..23bbb87 100644 (file)
@@ -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);