Skip to content
Permalink
Browse files
disable tri call grpc
  • Loading branch information
EarthChen committed Sep 15, 2021
1 parent 18c53f3 commit 49dec6bc720041601180126019e9161a2c8aeafa
Showing 4 changed files with 10 additions and 23 deletions.
@@ -17,14 +17,14 @@ Dubbo3 will wrap request and response with a protobuf wrapper automatically, so
Code under `test` folder is a general interoperation test suite for both Dubbo/Dubbo and Dubbo/GRPC.

#### Dubbo/Dubbo test
1. Run `org.apache.dubbo.sample.tri.TriProvider`
1. Run `org.apache.dubbo.sample.tri.TriGrpcProvider`
2. Run `org.apache.dubbo.sample.tri.TriPbConsumerTest` , `org.apache.dubbo.sample.tri.TriWrapConsumerTest` and `org.apache.dubbo.sample.tri.TriGenericTest`

#### DUbbo/GRPC test

##### GRPC --> Dubbo

1. Run `org.apache.dubbo.sample.tri.TriProvider`
1. Run `org.apache.dubbo.sample.tri.TriGrpcProvider`
2. Run `org.apache.dubbo.sample.tri.grpc.GrpcConsumerTest`

##### Dubbo --> GRPC
@@ -18,7 +18,7 @@ services:
dubbo-samples-triple:
type: app
basedir: .
mainClass: org.apache.dubbo.sample.tri.TriProvider
mainClass: org.apache.dubbo.sample.tri.TriGrpcProvider

dubbo-samples-triple-test:
type: test
@@ -29,7 +29,8 @@ services:
# grpc-->tri
- "org.apache.dubbo.sample.tri/grpc/Grpc*Test.class"
# tri-->grpc
- "org.apache.dubbo.sample.tri.grpc/TriGrpcDirectPbConsumerTest.class"
# fixme Failure is always present (https://github.com/apache/dubbo/issues/8738)
#- "org.apache.dubbo.sample.tri.grpc/TriGrpcDirectPbConsumerTest.class"
systemProps:
- zookeeper.host=dubbo-samples-triple
- zookeeper.port=2181
@@ -42,23 +43,6 @@ services:
depends_on:
- dubbo-samples-triple

################################################
# grpc provider
# dubbo-samples-triple-grpc:
# type: app
# basedir: .
# mainClass: org.apache.dubbo.sample.tri.grpc.GrpcProvider
#
# dubbo-samples-triple-grpc-test:
# type: test
# basedir: .
# tests:
# systemProps:
# - provider.host=dubbo-samples-triple-grpc
# waitPortsBeforeRun:
# - dubbo-samples-triple-grpc:50052
# depends_on:
# - dubbo-samples-triple-grpc



@@ -19,5 +19,5 @@
# Supported component versions of the test case

# Spring app
dubbo.version=3.0.3-SNAPSHOT
dubbo.version=3.*
spring.version=4.*, 5.*
@@ -15,7 +15,10 @@
import java.io.IOException;


public class TriProvider {
/**
* for Integration testing
*/
public class TriGrpcProvider {

public static void main(String[] args) throws IOException, InterruptedException {
new Thread(()->{

0 comments on commit 49dec6b

Please sign in to comment.