You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicecomb.apache.org by GitBox <gi...@apache.org> on 2018/03/12 06:11:48 UTC
[GitHub] wujimin commented on a change in pull request #585: [SCB-374] Invocation publish life event
wujimin 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_r173700678
##########
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:
no
out eventBus extend from this one, but faster.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services