<div dir="ltr">Thanks Erik, I saw your PR against my branch - will give it a shot 2nite<div><br></div><div>-M</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 22, 2015 at 1:38 PM, Erik Jan de Wit <span dir="ltr">&lt;<a href="mailto:edewit@redhat.com" target="_blank">edewit@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It must be something simple, can&#39;t believe it has anything to do with<br>
sequence being created wrong, because that would create duplicate<br>
keys, so the error would be different. DBUnit is not specific to Derby<br>
we can use other databases as well.<br>
<br>
Adding a whole lot of code in each test just to setup the database<br>
with data to test is in my opinion is not a nice thing to do, because<br>
it obscures the test.<br>
<br>
Let me have another crack at this, I could also try and use mysql as<br>
testdb making the tests even more valuable<br>
<div><div class="h5"><br>
On Wed, Apr 22, 2015 at 10:42 AM, Matthias Wessendorf &lt;<a href="mailto:matzew@apache.org">matzew@apache.org</a>&gt; wrote:<br>
&gt; or, instead of java having a .sql script for that test data creation<br>
&gt;<br>
&gt; On Wed, Apr 22, 2015 at 10:31 AM, Matthias Wessendorf &lt;<a href="mailto:matzew@apache.org">matzew@apache.org</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Looks like some odd things are going on here, w/ Sequences and Derby.... I<br>
&gt;&gt; have no clue - anyone else?<br>
&gt;&gt;<br>
&gt;&gt; I tried other DBs (e.g. H2 or MySQL), but DBUnit is .... somewhat specific<br>
&gt;&gt; to Derby. Which is not great :-(<br>
&gt;&gt;<br>
&gt;&gt; I move the migration merge to master to beta.1.  I am wondering if we<br>
&gt;&gt; really should do DBUnit w/ tests against Derby... especially since we only<br>
&gt;&gt; really support MySQL/Postgres.<br>
&gt;&gt;<br>
&gt;&gt; I think what we should to is: get rid of DBUnit and use Java to create the<br>
&gt;&gt; test data. Use Docker (once fully supported on Travis) and fire up Postgres<br>
&gt;&gt; and MySQL during the tests.<br>
&gt;&gt;<br>
&gt;&gt; -Matthias<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Apr 22, 2015 at 7:35 AM, Matthias Wessendorf &lt;<a href="mailto:matzew@apache.org">matzew@apache.org</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hi,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; as a FYI, the master branch now contains initial JMS support. That also<br>
&gt;&gt;&gt; means we require WF/EAP running as full profile, as stated in the updated<br>
&gt;&gt;&gt; README:<br>
&gt;&gt;&gt; <a href="https://github.com/aerogear/aerogear-unifiedpush-server#getting-started" target="_blank">https://github.com/aerogear/aerogear-unifiedpush-server#getting-started</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; For the 1.1.0.Final release there will be a few more JMS based<br>
&gt;&gt;&gt; enhancements, as we go:<br>
&gt;&gt;&gt; <a href="https://issues.jboss.org/browse/AGPUSH-1321" target="_blank">https://issues.jboss.org/browse/AGPUSH-1321</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; -Matthias<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; Matthias Wessendorf<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
&gt;&gt;&gt; sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
&gt;&gt;&gt; twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Matthias Wessendorf<br>
&gt;&gt;<br>
&gt;&gt; blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
&gt;&gt; sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
&gt;&gt; twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Matthias Wessendorf<br>
&gt;<br>
&gt; blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
&gt; sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
&gt; twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; aerogear-dev mailing list<br>
&gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Cheers,<br>
       Erik Jan<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></div>
</div>