summaryrefslogtreecommitdiffstats
path: root/archiva-modules
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2020-06-14 21:27:51 +0200
committerMartin Stockhammer <martin_s@apache.org>2020-06-14 21:27:51 +0200
commitefac20c1a3676ff8450f35a6b5392610c8df51f3 (patch)
tree41b3bcd091af146cc7a14d515bc96016f2c2c355 /archiva-modules
parent63d950f8cab37c1b0ea9623e642d7a452ca6cc62 (diff)
downloadarchiva-efac20c1a3676ff8450f35a6b5392610c8df51f3.tar.gz
archiva-efac20c1a3676ff8450f35a6b5392610c8df51f3.zip
Deactivating remote connect tests because of SSL incompatibilities
Diffstat (limited to 'archiva-modules')
-rw-r--r--archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/RemoteRepositoriesServiceTest.java73
1 files changed, 39 insertions, 34 deletions
diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/RemoteRepositoriesServiceTest.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/RemoteRepositoriesServiceTest.java
index 973569c65..46841de84 100644
--- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/RemoteRepositoriesServiceTest.java
+++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/RemoteRepositoriesServiceTest.java
@@ -162,42 +162,47 @@ public class RemoteRepositoriesServiceTest
}
/*
- * Check maven repository
+ * Deactivated the remote tests because SSL restrictions on these sites do not work anymore with JDK 7
+ *
*/
- @Test
- public void checkRemoteConnectivity2()
- throws Exception {
- RemoteRepositoriesService service = getRemoteRepositoriesService();
-
- WebClient.client(service).header("Authorization", authorizationHeader);
-
- int initialSize = service.getRemoteRepositories().size();
- service.addRemoteRepository(getRemoteMavenRepository());
-
- assertTrue(service.checkRemoteConnectivity("id-maven1"));
-
- }
-
-
- /*
- * Check oracle repository that allows not browsing (MRM-1933)
- */
- @Test
- public void checkRemoteConnectivity3()
- throws Exception {
- RemoteRepositoriesService service = getRemoteRepositoriesService();
-
- WebClient.client(service).header("Authorization", authorizationHeader);
- WebClient.client(service).accept("application/json");
-
- int initialSize = service.getRemoteRepositories().size();
-
- service.addRemoteRepository(getRemoteOracleRepository());
-
- assertTrue(service.checkRemoteConnectivity("id-oracle"));
-
- }
+// /*
+// * Check maven repository
+// */
+// @Test
+// public void checkRemoteConnectivity2()
+// throws Exception {
+// RemoteRepositoriesService service = getRemoteRepositoriesService();
+//
+// WebClient.client(service).header("Authorization", authorizationHeader);
+//
+// int initialSize = service.getRemoteRepositories().size();
+//
+// service.addRemoteRepository(getRemoteMavenRepository());
+//
+// assertTrue(service.checkRemoteConnectivity("id-maven1"));
+//
+// }
+//
+//
+// /*
+// * Check oracle repository that allows not browsing (MRM-1933)
+// */
+// @Test
+// public void checkRemoteConnectivity3()
+// throws Exception {
+// RemoteRepositoriesService service = getRemoteRepositoriesService();
+//
+// WebClient.client(service).header("Authorization", authorizationHeader);
+// WebClient.client(service).accept("application/json");
+//
+// int initialSize = service.getRemoteRepositories().size();
+//
+// service.addRemoteRepository(getRemoteOracleRepository());
+//
+// assertTrue(service.checkRemoteConnectivity("id-oracle"));
+//
+// }
RemoteRepository getRemoteRepository()
{