Github user GERey commented on a diff in the pull request:

    https://github.com/apache/incubator-usergrid/pull/160#discussion_r24767640
  
    --- Diff: stack/core/src/test/java/org/apache/usergrid/mq/MessagesIT.java 
---
    @@ -100,13 +102,16 @@ public void testMessages() throws Exception {
                LOG.info(JsonUtils.mapToFormattedJsonString(messages));
                assertEquals(3, messages.size());
     */
    -        TimeUnit.SECONDS.sleep( 2 );
    -        Map<String, Long> counters = qm.getQueueCounters( "/" );
    -        LOG.info( "dumping counters...." + counters );
    -        LOG.info( JsonUtils.mapToFormattedJsonString( counters ) );
    -        assertEquals( 1, counters.size() );
    -        assertNotNull( counters.get( "/foo/bar/" ) );
    -        assertEquals( new Long( 3 ), counters.get( "/foo/bar/" ) );
    +
    +        //wait for counters for flush\
    +
    +        //TODO Re-evaluate queues and make a cleaner interface
    --- End diff --
    
    So currently there is no way to get counters from the queue in this branch?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to