<div dir="ltr">Morning Peeps,<div><br><div>I&#39;m currently trying to fix AGPUSH-848[1].</div><div>Basically, the number of receivers shown in the top3 list is not always accurate.</div><div><br></div><div>I suspect that something is wrong with this query : </div>
<div><br></div><div><a href="https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/model/jpa/src/main/java/org/jboss/aerogear/unifiedpush/jpa/dao/impl/JPAPushMessageInformationDao.java#L99-L104">https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/model/jpa/src/main/java/org/jboss/aerogear/unifiedpush/jpa/dao/impl/JPAPushMessageInformationDao.java#L99-L104</a><br>
</div><div><br></div><div>I have change this test case : </div><div><a href="https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/model%2Fjpa%2Fsrc%2Ftest%2Fjava%2Forg%2Fjboss%2Faerogear%2Funifiedpush%2Fjpa%2FPushMessageInformationDaoTest.java#L251">https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/model%2Fjpa%2Fsrc%2Ftest%2Fjava%2Forg%2Fjboss%2Faerogear%2Funifiedpush%2Fjpa%2FPushMessageInformationDaoTest.java#L251</a><br>
</div><div><br></div><div>By adding just one VariantInformation[2] and now the test is failing and I have no idea why, so I would aprreciate a second eye on this.</div><div><br></div><div>I&#39;m probably missing something obvious but I can not see it right now :)</div>
<div><br></div><div>Sebi</div><div><br></div><div><br></div><div>[1]<a href="https://issues.jboss.org/browse/AGPUSH-848">https://issues.jboss.org/browse/AGPUSH-848</a></div><div>[2]<a href="https://gist.github.com/sebastienblanc/ea34e7f9fdafbc0785f2#file-gistfile1-java-L30-L35">https://gist.github.com/sebastienblanc/ea34e7f9fdafbc0785f2#file-gistfile1-java-L30-L35</a></div>
</div></div>