Well, several VariantMetricInformation instances can have the same VariantID, at each send , one is created : https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/push%2Fsrc%2Fmain%2Fjava%2Forg%2Fjboss%2Faerogear%2Funifiedpush%2Fmessage%2FSenderServiceImpl.java#L133



On Thu, Jul 31, 2014 at 9:34 AM, Daniel Bevenius <daniel.bevenius@gmail.com> wrote:
Is this because variantFour and variantFive have the same variantId (231543432434)? When added to the map only one will exist later in findTopThreeBusyVariantIDs. 





On 31 July 2014 09:20, Sebastien Blanc <scm.blanc@gmail.com> wrote:
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 : 


I have change this test case : 

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



_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev


_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev