This is an automated email from the ASF dual-hosted git repository.

jensdeppe pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 68deb0d  GEODE-800: Update fast-classpath-scanner to 2.18.1 (#1430)
68deb0d is described below

commit 68deb0db9578434e9043d56cc48ae1fae4166c5d
Author: Jens Deppe <jde...@pivotal.io>
AuthorDate: Tue Feb 13 14:17:22 2018 -0800

    GEODE-800: Update fast-classpath-scanner to 2.18.1 (#1430)
    
    - This also fixes the issue of picking up nested resources
    - The new fast-classpath-scanner runs slower than the prior version. This 
isn't
      a problem for general use, but some tests have been adjusted to take this
      into account.
---
 .../apache/geode/management/internal/deployment/FunctionScanner.java    | 2 +-
 .../management/internal/cli/commands/ConcurrentDeployDUnitTest.java     | 2 +-
 gradle/dependency-versions.properties                                   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/geode-core/src/main/java/org/apache/geode/management/internal/deployment/FunctionScanner.java
 
b/geode-core/src/main/java/org/apache/geode/management/internal/deployment/FunctionScanner.java
index 9b7d6c4..3e4ec66 100644
--- 
a/geode-core/src/main/java/org/apache/geode/management/internal/deployment/FunctionScanner.java
+++ 
b/geode-core/src/main/java/org/apache/geode/management/internal/deployment/FunctionScanner.java
@@ -33,7 +33,7 @@ public class FunctionScanner {
   public Collection<String> findFunctionsInJar(File jarFile) throws 
IOException {
     URLClassLoader urlClassLoader =
         new URLClassLoader(new URL[] {jarFile.getCanonicalFile().toURL()});
-    FastClasspathScanner fastClasspathScanner = new FastClasspathScanner()
+    FastClasspathScanner fastClasspathScanner = new 
FastClasspathScanner("-dir:")
         
.removeTemporaryFilesAfterScan(true).overrideClassLoaders(urlClassLoader);
     ScanResult scanResult = fastClasspathScanner.scan();
 
diff --git 
a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ConcurrentDeployDUnitTest.java
 
b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ConcurrentDeployDUnitTest.java
index 4ce0086..66c79b0 100644
--- 
a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ConcurrentDeployDUnitTest.java
+++ 
b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ConcurrentDeployDUnitTest.java
@@ -84,7 +84,7 @@ public class ConcurrentDeployDUnitTest {
   }
 
   public static void loopThroughDeployAndUndeploys(File jar1) throws Exception 
{
-    int numTimesToExecute = 500;
+    int numTimesToExecute = 100;
     String command;
 
     for (int i = 1; i <= numTimesToExecute; i++) {
diff --git a/gradle/dependency-versions.properties 
b/gradle/dependency-versions.properties
index 153e3a1..378ceb7 100644
--- a/gradle/dependency-versions.properties
+++ b/gradle/dependency-versions.properties
@@ -35,7 +35,7 @@ commons-validator.version = 1.6
 HikariCP.version = 2.7.6
 derby.version = 10.13.1.1
 dom4j.version = 1.6.1
-fast-classpath-scanner.version=2.0.11
+fast-classpath-scanner.version=2.18.1
 fastutil.version = 8.1.1
 google-gson.version=2.8.2
 guava.version = 24.0-jre

-- 
To stop receiving notification emails like this one, please contact
jensde...@apache.org.

Reply via email to