[infinispan-dev] Magic at JdbcStringBasedCacheStoreTest2

2012-11-22 Thread Thomas Fromm
Hey, I recognized today when executing test cases above at cmd line: infinispan/cachestore/jdbc ~> mvn -Dsurefire.useFile=false -Dtest=org/infinispan/loaders/jdbc/stringbased/JdbcStringBasedCacheStorest2 test ends up in: Caused by: java.lang.InstantiationException: org.infinispan.loaders.keym

Re: [infinispan-dev] Magic at JdbcStringBasedCacheStoreTest2

2012-11-22 Thread Thomas Fromm
On 22.11.2012 09:45, Thomas Fromm wrote: > > So why this test class does not fail in CI? > > Dan pointed me to the magic thing: Its not executed from CI because naming is not *Test. ;-) ___ infinispan-dev mailing list infinispan-dev@lists.jboss.org http

Re: [infinispan-dev] Magic at JdbcStringBasedCacheStoreTest2

2012-11-22 Thread Dan Berindei
There are a few more tests with this issue, I've created https://issues.jboss.org/browse/ISPN-2534 to change their names. On Thu, Nov 22, 2012 at 11:34 AM, Thomas Fromm wrote: > On 22.11.2012 09:45, Thomas Fromm wrote: > > > > So why this test class does not fail in CI? > > > > > > Dan pointed

Re: [infinispan-dev] Magic at JdbcStringBasedCacheStoreTest2

2012-11-22 Thread Manik Surtani
Maybe we should have a test that detects tests not ending in *Test, and fails accordingly? On 22 Nov 2012, at 09:52, Dan Berindei wrote: > There are a few more tests with this issue, I've created > https://issues.jboss.org/browse/ISPN-2534 to change their names. > > > On Thu, Nov 22, 2012 at

Re: [infinispan-dev] Magic at JdbcStringBasedCacheStoreTest2

2012-11-22 Thread Dan Berindei
I don't like the idea very much, as we'd need one of those tests in each module. On Thu, Nov 22, 2012 at 7:00 PM, Manik Surtani wrote: > Maybe we should have a test that detects tests not ending in *Test, and > fails accordingly? ___ infinispan-dev ma