[aerogear-dev] Help needed on AGPUSH-848

Sebastien Blanc scm.blanc at gmail.com
Thu Jul 31 03:20:04 EDT 2014


Morning Peeps,

I'm currently trying to fix AGPUSH-848[1].
Basically, the number of receivers shown in the top3 list is not always
accurate.

I suspect that something is wrong with this query :

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

I have change this test case :
https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/model%2Fjpa%2Fsrc%2Ftest%2Fjava%2Forg%2Fjboss%2Faerogear%2Funifiedpush%2Fjpa%2FPushMessageInformationDaoTest.java#L251

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.

I'm probably missing something obvious but I can not see it right now :)

Sebi


[1]https://issues.jboss.org/browse/AGPUSH-848
[2]
https://gist.github.com/sebastienblanc/ea34e7f9fdafbc0785f2#file-gistfile1-java-L30-L35
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20140731/df9cd2d3/attachment.html 


More information about the aerogear-dev mailing list