Skip to content

Commit 953b219

Browse files
committed
[#327]update test case readme for better run
1 parent 54d2799 commit 953b219

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

integration-tests/cse-v2/README.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,14 @@
22

33
* 参考:https://github.com/apache/servicecomb-service-center/tree/master/ux 安装微服务引擎2.0
44

5+
* 设置环境变量:
6+
* CSE_V2_SC: 注册中心的地址
7+
* CSE_V2_CC: 配置中心的地址
8+
9+
* 依次启动 provider、consumer、gateway
10+
511
* 在配置中心增加如下配置:
6-
* consumer.yaml。 label信息: app=cse-v2-test-application,environment=production 。类型为 yaml。
12+
* 应用级配置:consumer.yaml。类型为 yaml。
713

814
```yaml
915
cse:
@@ -12,7 +18,7 @@ cse:
1218
foo: foo
1319
```
1420
15-
* priority1.yaml。label信息: public=default 。类型为 yaml。
21+
* 自定义配置:priority1.yaml。label信息: public=default 。类型为 yaml。
1622
```yaml
1723
cse:
1824
v2:
@@ -21,30 +27,22 @@ cse:
2127
common: common
2228
```
2329
24-
* priority2.yaml。label信息: app=cse-v2-test-application,environment=production 。类型为 yaml。
30+
* 应用级配置:priority2.yaml。类型为 yaml。
2531
```yaml
2632
cse:
2733
v2:
2834
test:
2935
priority: v2
3036
```
31-
* priority3.yaml。label信息: app=cse-v2-test-application,service=basic-consumer,environment=production 。类型为 yaml。
37+
* 服务级配置:priority3.yaml,微服务性选择basic-consumer。类型为 yaml。
3238
```yaml
3339
cse:
3440
v2:
3541
test:
3642
priority: v3
3743
```
38-
39-
* 设置环境变量:
40-
* CSE_V2_SC: 注册中心的地址
41-
* CSE_V2_CC: 配置中心的地址
4244
43-
* 依次启动 provider、consumer、gateway
44-
45-
* 在配置中心增加如下配置:
46-
* cse.v2.test.bar: bar
47-
* label信息: app=cse-v2-test-application,environment=production 。类型为 text。
45+
* 应用级配置: cse.v2.test.bar: bar 。 类型为 text。
4846
4947
* 执行 tests-client 里面的集成测试用例 (成功)
5048

0 commit comments

Comments
 (0)