JMH 1.0 SNAPSHOT Failed ResultFormatTest

Bernd Eckenfels ecki at zusammenkunft.net
Fri Aug 15 19:13:53 UTC 2014


Hello,

in preparation for the patch I want to submit to JMH for enabling
substring RE matching I tried to compile JMH. I am not very familiar
with Hg, but I am pretty sure the clone was not messed up. 

parent: 955:d5526434fd4a tip

Anyway, when I run "mvn clean install" on Win7 with Mvn3.1.2 or 3.0.5
and Oracle JDK 1.8.0_11 or 1.7.0_65 (x64) I get:

Failed tests:
  ResultFormatTest.jsonTest_Stream:137->compare:109 Mismatch
expected:<...         "rawData" :[ []> but was:<...
"rawData" :[]> ResultFormatTest.jsonTest:123->compare:109 Mismatch
expected:<...         "rawData" :[ []> but was:<...
"rawData" :[]>

Tests run: 250, Failures: 2, Errors: 0, Skipped: 1

43551 [INFO] Java Microbenchmark Harness Parent ................ SUCCESS [  5.458 s]
43553 [INFO] JMH Core .......................................... FAILURE [ 30.620 s]

It does compile with skipTests. The result does work to benchmark my
sample projects, so maybe its only a test problem.

BTW: the jmh-core-its do crash the JVM (OutOfMemory, native out of virtual, etc) Java, but I
need to check if this is a platform problem (memory related?). Will followup on that.

Gruss
Bernd




More information about the jmh-dev mailing list