[jboss-dev-forums] [JBoss AS 7 Development] - Test failures with JDK7

Frank Langelage do-not-reply at jboss.com
Sun Nov 4 10:15:13 EST 2012


Frank Langelage [https://community.jboss.org/people/lafr] created the discussion

"Test failures with JDK7"

To view the discussion, visit: https://community.jboss.org/message/774564#774564

--------------------------------------------------------------
I tried to compile the current JBoss AS7 sources from github.com with Oracle JDK 1.7.0_09 on Solaris 10 SPARC.

But tests failed:
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.jboss.as.clustering.web.infinispan.SessionMapEntryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.286 sec
Running org.jboss.as.clustering.web.infinispan.SimpleExternalizerTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 sec
Running org.jboss.as.clustering.web.infinispan.FineSessionAttributeStorageTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.144 sec
Running org.jboss.as.clustering.web.infinispan.DistributedCacheManagerTest
Tests run: 22, Failures: 2, Errors: 1, Skipped: 0, Time elapsed: 2.028 sec <<< FAILURE!
Running org.jboss.as.clustering.web.infinispan.SessionAttributeStorageFactoryTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.jboss.as.clustering.web.infinispan.CoarseSessionAttributeStorageTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 sec

Results :

Failed tests:   getSessionDataNoOwner(org.jboss.as.clustering.web.infinispan.DistributedCacheManagerTest): expected same:<Mock for IncomingDistributableSessionData, hashCode: 11206542> was not:<null>
  getMissingSessionDataNoOwner(org.jboss.as.clustering.web.infinispan.DistributedCacheManagerTest): expected same:<Mock for IncomingDistributableSessionData, hashCode: 12646526> was not:<null>

Tests in error:
  removeSessionLocalNoOwner(org.jboss.as.clustering.web.infinispan.DistributedCacheManagerTest): (..)


Is this expected, meaning JDK 1.6 is mandatory for compilation?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/774564#774564]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20121104/fe49ed8b/attachment.html 


More information about the jboss-dev-forums mailing list