camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William Tam" <email.w...@gmail.com>
Subject Re: svn commit: r660222 - /activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/management/JmxInstrumentationUsingDefaultsTest.java
Date Mon, 26 May 2008 17:48:12 GMT
Hi Willem,

Is it the test's fault or the code's fault?  Or, is it disabled temporarily?

Thanks,
William

On Mon, May 26, 2008 at 12:05 PM,  <ningjiang@apache.org> wrote:
> Author: ningjiang
> Date: Mon May 26 09:05:21 2008
> New Revision: 660222
>
> URL: http://svn.apache.org/viewvc?rev=660222&view=rev
> Log:
> Fixed the build, by disabling the route couter verification
>
> Modified:
>    activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/management/JmxInstrumentationUsingDefaultsTest.java
>
> Modified: activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/management/JmxInstrumentationUsingDefaultsTest.java
> URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/management/JmxInstrumentationUsingDefaultsTest.java?rev=660222&r1=660221&r2=660222&view=diff
> ==============================================================================
> --- activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/management/JmxInstrumentationUsingDefaultsTest.java
(original)
> +++ activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/management/JmxInstrumentationUsingDefaultsTest.java
Mon May 26 09:05:21 2008
> @@ -44,23 +44,23 @@
>         Set s = iAgent.getMBeanServer().queryNames(
>                 new ObjectName(domainName + ":type=endpoint,*"), null);
>         assertEquals("Could not find 2 endpoints: " + s, 2, s.size());
> -
> +
>         s = iAgent.getMBeanServer().queryNames(
>                 new ObjectName(domainName + ":type=context,*"), null);
>         assertEquals("Could not find 1 context: " + s, 1, s.size());
> -
> +
>         s = iAgent.getMBeanServer().queryNames(
>                 new ObjectName(domainName + ":type=processor,*"), null);
>         assertEquals("Could not find 1 processor: " + s, 1, s.size());
> -
> +
>         s = iAgent.getMBeanServer().queryNames(
>                 new ObjectName(domainName + ":type=route,*"), null);
>         assertEquals("Could not find 1 route: " + s, 1, s.size());
> -
> +
>         if (sleepSoYouCanBrowseInJConsole) {
>             Thread.sleep(100000);
>         }
> -
> +
>     }
>
>     public void testCounters() throws Exception {
> @@ -71,7 +71,7 @@
>         resultEndpoint.assertIsSatisfied();
>
>         MBeanServer mbs = iAgent.getMBeanServer();
> -        verifyCounter(mbs, new ObjectName(domainName + ":type=route,*"));
> +        //verifyCounter(mbs, new ObjectName(domainName + ":type=route,*"));
>         verifyCounter(mbs, new ObjectName(domainName + ":type=processor,*"));
>
>     }
> @@ -114,7 +114,7 @@
>                       valueofMeanProcessingTime);
>         assertTrue(valueofMeanProcessingTime >= valueofMinProcessingTime
>                    && valueofMeanProcessingTime <= valueofMaxProcessingTime);
> -
> +
>     }
>
>     protected void enableJmx() {
>
>
>

Mime
View raw message