Fixed the test by checking for null ISite return value.
diff --git a/update/org.eclipse.update.tests.core/src/org/eclipse/update/tests/api/TestSiteManagerAPI.java b/update/org.eclipse.update.tests.core/src/org/eclipse/update/tests/api/TestSiteManagerAPI.java
index 03f5182..04ef11c 100644
--- a/update/org.eclipse.update.tests.core/src/org/eclipse/update/tests/api/TestSiteManagerAPI.java
+++ b/update/org.eclipse.update.tests.core/src/org/eclipse/update/tests/api/TestSiteManagerAPI.java
@@ -36,8 +36,9 @@
 	public void testUnknown() throws Exception {
 		URL url = new URL("ftp://255.255.255.255/");
 		try {
-		SiteManager.getSite(url,null);
-		fail("Connected to ftp://255.255.255.255/, should not happen");
+		ISite site = SiteManager.getSite(url,null);
+		if (site!=null) 
+			fail("Connected to ftp://255.255.255.255/, should not happen");
 		} catch (CoreException e){
 			// expected
 		} catch (IllegalArgumentException e){