Remove flaky tests from the official plan

The following tests assumes a stable live-internet connection
with often a short round-trip time. Should be refactored to
test against a local server etc.

android.net.cts.SSLCertificateSocketFactoryTest#testCreateSocket
android.net.cts.SSLCertificateSocketFactoryTest#test_createSocket_bind
android.net.cts.SSLCertificateSocketFactoryTest#test_createSocket_simple
android.net.cts.SSLCertificateSocketFactoryTest#test_createSocket_wrapping
android.net.wifi.cts.NsdManagerTest

Bug: 18682315
Bug: 18680089
Change-Id: Icd716bb60ec0a1b8bcf0db3afae4b2f2e94f5973
diff --git a/tests/expectations/knownfailures.txt b/tests/expectations/knownfailures.txt
index 96706cb..3574900 100644
--- a/tests/expectations/knownfailures.txt
+++ b/tests/expectations/knownfailures.txt
@@ -22,6 +22,23 @@
   bug: 17595050
 },
 {
+  description: "the SSLCertificateSocketFactoryTest often fails because of lack of live internet or short timeout, it should be refactored to do a local server testing",
+  names: [
+    "android.net.cts.SSLCertificateSocketFactoryTest#testCreateSocket",
+    "android.net.cts.SSLCertificateSocketFactoryTest#test_createSocket_bind",
+    "android.net.cts.SSLCertificateSocketFactoryTest#test_createSocket_simple",
+    "android.net.cts.SSLCertificateSocketFactoryTest#test_createSocket_wrapping"
+  ],
+  bug: 18682315
+},
+{
+  description: "the test result are too much dependent on live-internet connection, which for some devices might not exist",
+  names: [
+    "android.net.wifi.cts.NsdManagerTest#testAndroidTestCaseSetupProperly"
+  ],
+  bug: 18680089
+},
+{
   description: "AudioPolicyBinder tests are not yet robust enough",
   names: [
     "android.security.cts.AudioPolicyBinderTest"