You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2013/12/26 10:30:13 UTC

git commit: CAMEL-7076 fixed the unit test error of ManagementExampleTest

Updated Branches:
  refs/heads/master cf11eb183 -> 44fa68293


CAMEL-7076 fixed the unit test error of ManagementExampleTest


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/44fa6829
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/44fa6829
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/44fa6829

Branch: refs/heads/master
Commit: 44fa6829371f4e51ac4a13f9e3017e3cf3a6d135
Parents: cf11eb1
Author: Willem Jiang <wi...@gmail.com>
Authored: Thu Dec 26 17:29:57 2013 +0800
Committer: Willem Jiang <wi...@gmail.com>
Committed: Thu Dec 26 17:29:57 2013 +0800

----------------------------------------------------------------------
 .../apache/camel/example/management/ManagementExampleTest.java   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/44fa6829/examples/camel-example-management/src/test/java/org/apache/camel/example/management/ManagementExampleTest.java
----------------------------------------------------------------------
diff --git a/examples/camel-example-management/src/test/java/org/apache/camel/example/management/ManagementExampleTest.java b/examples/camel-example-management/src/test/java/org/apache/camel/example/management/ManagementExampleTest.java
index 0e5ab7c..c83fda8 100644
--- a/examples/camel-example-management/src/test/java/org/apache/camel/example/management/ManagementExampleTest.java
+++ b/examples/camel-example-management/src/test/java/org/apache/camel/example/management/ManagementExampleTest.java
@@ -43,8 +43,10 @@ public class ManagementExampleTest extends CamelSpringTestSupport {
 
         // Find the endpoints
         Set<ObjectName> set = mbeanServer.queryNames(new ObjectName("*:type=endpoints,*"), null);
+        
         // now there is no managed endpoint for the dead queue
-        assertEquals(5, set.size()); 
+        // CAMEL-7076 there is no spring-event:default endpoint any more
+        assertEquals(4, set.size()); 
         
         // Find the routes
         set = mbeanServer.queryNames(new ObjectName("*:type=routes,*"), null);