[ 
https://issues.apache.org/jira/browse/SCB-374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16394809#comment-16394809
 ] 

ASF GitHub Bot commented on SCB-374:
------------------------------------

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


> invocation publish life event
> -----------------------------
>
>                 Key: SCB-374
>                 URL: https://issues.apache.org/jira/browse/SCB-374
>             Project: Apache ServiceComb
>          Issue Type: Sub-task
>          Components: Java-Chassis
>            Reporter: wujimin
>            Assignee: wujimin
>            Priority: Major
>             Fix For: java-chassis-1.0.0-m2
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to