commit | bb10cc3ec91f88b6056f707ed70a3504228a69cf | [log] [tgz] |
---|---|---|
author | Pierre De Rop <pderop@apache.org> | Thu Oct 10 20:04:39 2013 +0000 |
committer | Pierre De Rop <pderop@apache.org> | Thu Oct 10 20:04:39 2013 +0000 |
tree | ab44df256ce058126e777f71e3f2b692f832ccef | |
parent | acc5fb065c3616ddf1bf3ee3078852aebf2ed4d9 [diff] |
Configure thread pools with 10 by default. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1531091 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dependencymanager/test2/src/test/java/org/apache/felix/dependencymanager/test2/integration/api/AspectRaceTest.java b/dependencymanager/test2/src/test/java/org/apache/felix/dependencymanager/test2/integration/api/AspectRaceTest.java index 96801b8..d929941 100644 --- a/dependencymanager/test2/src/test/java/org/apache/felix/dependencymanager/test2/integration/api/AspectRaceTest.java +++ b/dependencymanager/test2/src/test/java/org/apache/felix/dependencymanager/test2/integration/api/AspectRaceTest.java
@@ -50,7 +50,7 @@ public void testConcurrentAspects() { try { warn("starting aspect race test"); - int cores = Runtime.getRuntime().availableProcessors(); + int cores = 10; // Runtime.getRuntime().availableProcessors(); // Used to inject S services _serviceExec = Executors.newFixedThreadPool(cores); // Used to inject S Aspects @@ -306,7 +306,7 @@ debug("swap: " + previous + "," + current); synchronized (this) { if (!_services.remove(previous)) { - error("swap: unknow previous counter: " + previous); + error("swap: unknow previous service: " + previous); } _services.add(current); }