ivakegg commented on code in PR #395:
URL: https://github.com/apache/commons-vfs/pull/395#discussion_r1190015720


##########
commons-vfs2/src/test/java/org/apache/commons/vfs2/impl/VfsClassLoaderTests.java:
##########
@@ -217,7 +249,17 @@ public void testSealing() throws Exception {
 
     @Test
     public void testThreadSafety() throws Exception {
-        final int THREADS = 40;
+        final FileSystemManager manager = getManager();
+
+        // The http4 and sftp mechanisms do not work with this thread safety 
test
+        List<String> schemes = Arrays.asList(manager.getSchemes());
+        if (schemes.contains("http4") || schemes.contains("sftp")) {

Review Comment:
   Made the exclusion of test cases more obvious across the board.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to