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.keymappers.TwoWayKey2StringMapper
Problematic row is
config.setKey2StringMapperClass(TwoWayKey2StringMapper.class.getName());
I looked around to find some magic mocking, which explains why there can
be only an interface used, but I failed.
Using e.g. TwoWayPersonKey2StringMapper at this point works.
So why this test class does not fail in CI?
--tf
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 <tf(a)tfromm.com> wrote:
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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev
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 <dan.berindei(a)gmail.com> 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 11:34 AM, Thomas Fromm <tf(a)tfromm.com> wrote:
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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev
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 <manik(a)jboss.org> wrote: