You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/04/06 13:38:34 UTC
[GitHub] [skywalking-agent-test-tool] dmsolr commented on a change in pull
request #13: Remove component name
dmsolr commented on a change in pull request #13: Remove component name
URL: https://github.com/apache/skywalking-agent-test-tool/pull/13#discussion_r404096963
##########
File path: mock-collector/src/main/java/org/apache/skywalking/plugin/test/mockcollector/mock/MockManagementService.java
##########
@@ -23,12 +23,13 @@
import org.apache.skywalking.apm.network.management.v3.InstancePingPkg;
import org.apache.skywalking.apm.network.management.v3.InstanceProperties;
import org.apache.skywalking.apm.network.management.v3.ManagementServiceGrpc;
+import org.apache.skywalking.plugin.test.mockcollector.entity.ValidateData;
public class MockManagementService extends ManagementServiceGrpc.ManagementServiceImplBase {
@Override
public void reportInstanceProperties(InstanceProperties request, StreamObserver<Commands> responseObserver) {
-
+ ValidateData.INSTANCE.register();
Review comment:
We have some test cases of java plugin need to confirm plugin has registered. So mock collector provides this API.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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