Delete test case because of the test case will use network to call the collector.
This commit is contained in:
parent
8c27542784
commit
667c0f470d
|
|
@ -2,7 +2,6 @@ package org.skywalking.apm.collector.agentregister.grpc.handler;
|
|||
|
||||
import io.grpc.ManagedChannel;
|
||||
import io.grpc.ManagedChannelBuilder;
|
||||
import org.junit.Test;
|
||||
import org.skywalking.apm.network.proto.Application;
|
||||
import org.skywalking.apm.network.proto.ApplicationMapping;
|
||||
import org.skywalking.apm.network.proto.ApplicationRegisterServiceGrpc;
|
||||
|
|
@ -14,7 +13,6 @@ public class ApplicationRegisterServiceHandlerTestCase {
|
|||
|
||||
private ApplicationRegisterServiceGrpc.ApplicationRegisterServiceBlockingStub stub;
|
||||
|
||||
@Test
|
||||
public void testRegister() {
|
||||
ManagedChannel channel = ManagedChannelBuilder.forAddress("localhost", 11800).usePlaintext(true).build();
|
||||
stub = ApplicationRegisterServiceGrpc.newBlockingStub(channel);
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ package org.skywalking.apm.collector.agentstream.grpc.handler;
|
|||
import io.grpc.ManagedChannel;
|
||||
import io.grpc.ManagedChannelBuilder;
|
||||
import io.grpc.stub.StreamObserver;
|
||||
import org.junit.Test;
|
||||
import org.skywalking.apm.network.proto.Downstream;
|
||||
import org.skywalking.apm.network.proto.KeyWithStringValue;
|
||||
import org.skywalking.apm.network.proto.LogMessage;
|
||||
|
|
@ -28,7 +27,6 @@ public class TraceSegmentServiceHandlerTestCase {
|
|||
|
||||
private TraceSegmentServiceGrpc.TraceSegmentServiceStub stub;
|
||||
|
||||
@Test
|
||||
public void testCollect() {
|
||||
ManagedChannel channel = ManagedChannelBuilder.forAddress("localhost", 11800).usePlaintext(true).build();
|
||||
stub = TraceSegmentServiceGrpc.newStub(channel);
|
||||
|
|
|
|||
Loading…
Reference in New Issue