Index: components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestContextTest.java |
diff --git a/components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestContextTest.java b/components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestContextTest.java |
index 0426d28ee178f1c8e6477e167597e555eb16d542..6807d8013a36ffa65d8760d5805e11d52fa2943e 100644 |
--- a/components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestContextTest.java |
+++ b/components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestContextTest.java |
@@ -1126,30 +1126,4 @@ public class CronetUrlRequestContextTest extends CronetTestBase { |
assertTrue(loader.wasCalled()); |
} |
} |
- |
- // Creates a CronetEngine on another thread and then one on the main thread. This shouldn't |
- // crash. |
- @SmallTest |
- @Feature({"Cronet"}) |
- public void testThreadedStartup() throws Exception { |
- final ConditionVariable otherThreadDone = new ConditionVariable(); |
- final ConditionVariable uiThreadDone = new ConditionVariable(); |
- new Handler(Looper.getMainLooper()).post(new Runnable() { |
- public void run() { |
- final CronetEngine.Builder builder = |
- new CronetEngine.Builder(getContext()).setLibraryName("cronet_tests"); |
- new Thread() { |
- public void run() { |
- CronetEngine cronetEngine = builder.build(); |
- otherThreadDone.open(); |
- cronetEngine.shutdown(); |
- } |
- }.start(); |
- otherThreadDone.block(); |
- builder.build().shutdown(); |
- uiThreadDone.open(); |
- } |
- }); |
- assertTrue(uiThreadDone.block(1000)); |
- } |
} |