WillemJiang commented on a change in pull request #585: [SCB-374] Invocation 
publish life event
URL: 
https://github.com/apache/incubator-servicecomb-java-chassis/pull/585#discussion_r173693969
 
 

 ##########
 File path: 
common/common-rest/src/test/java/org/apache/servicecomb/common/rest/TestAbstractRestInvocation.java
 ##########
 @@ -104,13 +110,23 @@ protected OperationLocator 
locateOperation(ServicePathManager servicePathManager
     }
 
     @Override
-    protected void createInvocation(Object[] args) {
+    protected void createInvocation() {
       this.invocation = TestAbstractRestInvocation.this.invocation;
     }
   }
 
   AbstractRestInvocation restInvocation = new AbstractRestInvocationForTest();
 
+  @BeforeClass
+  public static void classSetup() {
+    EventManager.eventBus = new EventBus();
+  }
+
+  @AfterClass
+  public static void classTeardown() {
+    EventManager.eventBus = new EventBus();
 
 Review comment:
   Do we need to setup new EventBus again here?

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to