WillemJiang commented on a change in pull request #562: [SCB-358] fix bug for 
monitor output id that register only name without any tags
URL: 
https://github.com/apache/incubator-servicecomb-java-chassis/pull/562#discussion_r171288742
 
 

 ##########
 File path: 
foundations/foundation-common/src/test/java/org/apache/servicecomb/foundation/common/event/TestEventBus.java
 ##########
 @@ -81,4 +81,28 @@ public void process(String data) {
     Thread.sleep(1000);
     Assert.assertFalse(eventReceived.get());
   }
+
+  @Test
+  public void checkUnmatchTypeWillNotReceived() throws InterruptedException {
+    AtomicBoolean eventReceived = new AtomicBoolean(false);
+
+    EventListener<String> listener = new EventListener<String>() {
 
 Review comment:
   The EventListener can be reused out of the checkUmatchType method.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to