summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/testing/itest/performance/performance-test
diff options
context:
space:
mode:
Diffstat (limited to 'sca-java-2.x/trunk/testing/itest/performance/performance-test')
-rw-r--r--sca-java-2.x/trunk/testing/itest/performance/performance-test/pom.xml6
-rw-r--r--sca-java-2.x/trunk/testing/itest/performance/performance-test/src/test/java/org/apache/tuscany/sca/test/performance/PerformanceTestCase.java4
2 files changed, 8 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/testing/itest/performance/performance-test/pom.xml b/sca-java-2.x/trunk/testing/itest/performance/performance-test/pom.xml
index e1de9fef85..73990136d5 100644
--- a/sca-java-2.x/trunk/testing/itest/performance/performance-test/pom.xml
+++ b/sca-java-2.x/trunk/testing/itest/performance/performance-test/pom.xml
@@ -46,6 +46,12 @@
<artifactId>tuscany-host-jetty</artifactId>
<version>2.0-SNAPSHOT</version>
</dependency>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-policy-logging</artifactId>
+ <version>2.0-SNAPSHOT</version>
+ </dependency>
</dependencies>
</project>
diff --git a/sca-java-2.x/trunk/testing/itest/performance/performance-test/src/test/java/org/apache/tuscany/sca/test/performance/PerformanceTestCase.java b/sca-java-2.x/trunk/testing/itest/performance/performance-test/src/test/java/org/apache/tuscany/sca/test/performance/PerformanceTestCase.java
index 454ad9dad8..329eea6a3d 100644
--- a/sca-java-2.x/trunk/testing/itest/performance/performance-test/src/test/java/org/apache/tuscany/sca/test/performance/PerformanceTestCase.java
+++ b/sca-java-2.x/trunk/testing/itest/performance/performance-test/src/test/java/org/apache/tuscany/sca/test/performance/PerformanceTestCase.java
@@ -224,11 +224,11 @@ public class PerformanceTestCase {
System.out.println("You can watch a JVM run using \n" +
" jconsole \n" +
"You can manually dump the heap using \n" +
- " jmap -dump:file=heapdump.bin 345" +
+ " jmap -dump:file=heap_stop_" + name + ".bin 345" +
"Where 345 is the process id from jconsole \n" +
"The program dumps the heap at the start and end. You can look at them using \n" +
" jhat -J-Xmx512m heap_start.bin\n" +
- " jhat -J-Xmx512m heap_stop.bin\n" +
+ " jhat -J-Xmx512m heap_stop_" + name + ".bin\n" +
"Then point your browser at\n" +
" http://localhost:7000/");
} else {