Hi guys,

Working to insure fulcrum is building OK in jdk 8... all components seem
OK except I am getting two test failures in fulcrum/cache related to the
JCSCacheTest. This is outside my realm of expertise, but I am happy to
dig deeper if you have any pointers.  All other fulcrum components seem
relatively happy.

I tried to update fulcrum/security/torque to see what the state of it
looks like when using torque-4.1-SNAPSHOT, and I am getting a series of
test failures where it tells me that the jdbc connection is closed on
each test for the HsqlDb object.  I tried to dig into that one also, but
had no luck figuring out where things went wrong.

I figured my time was better spent making sure everything is working
properly in jdk-8 first before attempting to get it working in java
9,10,11, etc.


--
Jeff




Tests run: 10, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 142.003
sec <<< FAILURE! - in org.apache.fulcrum.cache.JCSCacheTest
test2ObjectAddGetCachedObject(org.apache.fulcrum.cache.JCSCacheTest) 
Time elapsed: 0.019 sec  <<< ERROR!
org.apache.fulcrum.cache.ObjectExpiredException
    at
org.apache.fulcrum.cache.impl.JCSCacheService.getObject(JCSCacheService.java:189)
    at
org.apache.fulcrum.cache.CacheTest.test2ObjectAddGetCachedObject(CacheTest.java:153)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:99)
    at
org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:136)
    at
org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:109)
    at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
    at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
    at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)

testObjectCount(org.apache.fulcrum.cache.JCSCacheTest)  Time elapsed:
18.345 sec  <<< FAILURE!
junit.framework.AssertionFailedError: After three refreshes expected:<0>
but was:<1>
    at junit.framework.Assert.fail(Assert.java:47)
    at junit.framework.Assert.failNotEquals(Assert.java:282)
    at junit.framework.Assert.assertEquals(Assert.java:64)
    at junit.framework.Assert.assertEquals(Assert.java:201)
    at
org.apache.fulcrum.cache.CacheTest.testObjectCount(CacheTest.java:299)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:99)
    at
org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:136)
    at
org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:109)
    at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
    at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
    at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)


Results :

Failed tests:
  org.apache.fulcrum.cache.JCSCacheTest#testObjectCount
AssertionFailedError Aft...
Tests in error:
  org.apache.fulcrum.cache.EHCacheTest#test2ObjectAddGetCachedObject
ObjectExpiredException
  org.apache.fulcrum.cache.JCSCacheTest#test2ObjectAddGetCachedObject
ObjectExpiredException

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




Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to