[jboss-dev] configs are broken
Scott Stark
sstark at redhat.com
Thu Nov 6 11:36:31 EST 2008
SoftRefVFSCache is close to TimedVFSCache
-Djboss.vfs.cache=org.jboss.virtual.plugins.cache.SoftRefVFSCache
[junit] Running
org.jboss.test.deployers.seam.test.SeamBookingExampleUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 19.238 sec
[junit] Running
org.jboss.test.deployers.seam.test.SeamDvdExampleUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 12.784 sec
[junit] Test
org.jboss.test.deployers.seam.test.SeamDvdExampleUnitTestCase FAILED
[junit] Running
org.jboss.test.deployers.seam.test.SeamJpaExampleUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 10.186 sec
[junit] Running
org.jboss.test.deployers.seam.test.SeamNumberguessExampleUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 8.204 sec
[junit] Running
org.jboss.test.deployers.seam.test.SeamVFSClassloadingUnitTestCase
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 40.773 sec
...
Total time: 6 minutes 5 seconds
Scott Stark wrote:
> Running the profileservice tests with
> -Djboss.vfs.cache=org.jboss.virtual.plugins.cache.WeakRefVFSCache,
> the seam test times are:
> [junit] Running
> org.jboss.test.deployers.seam.test.SeamBookingExampleUnitTestCase
> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 24.436 sec
> [junit] Running
> org.jboss.test.deployers.seam.test.SeamDvdExampleUnitTestCase
> [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 16.696 sec
> [junit] Test
> org.jboss.test.deployers.seam.test.SeamDvdExampleUnitTestCase FAILED
> [junit] Running
> org.jboss.test.deployers.seam.test.SeamJpaExampleUnitTestCase
> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 11.985 sec
> [junit] Running
> org.jboss.test.deployers.seam.test.SeamNumberguessExampleUnitTestCase
> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 9.289 sec
> [junit] Running
> org.jboss.test.deployers.seam.test.SeamVFSClassloadingUnitTestCase
> [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 44.541 sec
> ...
> Total time: 6 minutes 37 seconds
>
> with -Djboss.vfs.cache=org.jboss.virtual.plugins.cache.TimedVFSCache
> the seam test times are:
> [junit] Running
> org.jboss.test.deployers.seam.test.SeamBookingExampleUnitTestCase
> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 17.681 sec
> [junit] Running
> org.jboss.test.deployers.seam.test.SeamDvdExampleUnitTestCase
> [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 15.061 sec
> [junit] Test
> org.jboss.test.deployers.seam.test.SeamDvdExampleUnitTestCase FAILED
> [junit] Running
> org.jboss.test.deployers.seam.test.SeamJpaExampleUnitTestCase
> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 10.536 sec
> [junit] Running
> org.jboss.test.deployers.seam.test.SeamNumberguessExampleUnitTestCase
> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 8.257 sec
> [junit] Running
> org.jboss.test.deployers.seam.test.SeamVFSClassloadingUnitTestCase
> [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 42.076 sec
> ...
> Total time: 6 minutes 15 seconds
>
> So the TimedVFSCache is a little better. Can't we add a
> VFSCacheFactory.getInstance(String defaultCache) so that the cache can
> be set in the initialize.xml rather than having to update every
> startup config to pass in a system property.
>
>
More information about the jboss-development
mailing list