You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2020/12/26 01:46:33 UTC
[skywalking-website] 01/01: Polish the design to be more generic
This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a commit to branch polish/e2e-design
in repository https://gitbox.apache.org/repos/asf/skywalking-website.git
commit b2b52160e9f206788f9144d9f5db20c1d9eef461
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Sat Dec 26 09:46:15 2020 +0800
Polish the design to be more generic
---
content/blog/e2e-design/index.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/content/blog/e2e-design/index.md b/content/blog/e2e-design/index.md
index 998af27..9341788 100644
--- a/content/blog/e2e-design/index.md
+++ b/content/blog/e2e-design/index.md
@@ -75,14 +75,14 @@ e2e trigger # If configuration file e2e.yaml is present
swctl service ls
```
-this does exactly the same as what `swctl` is doing at present;
+this is a project-specific step, different project may use different tools to query the actual output, for SkyWalking, it uses `swctl` to query the actual output;
### Verify
```shell
e2e verify --actual=actual.data.yaml --expected=expected.data.yaml
-e2e verify --query="service ls" --expected=expected.data.yaml
+e2e verify --query="swctl service ls" --expected=expected.data.yaml
e2e verify # If configuration file e2e.yaml is present
```
@@ -174,9 +174,9 @@ trigger:
url: localhost:9090/users
verify:
- - query: service ls
+ - query: swctl service ls
expected: expected.services.yaml
- - query: endpoint ls --service="YnVzaW5lc3Mtem9uZTo6cHJvamVjdEM=.1"
+ - query: swctl endpoint ls --service="YnVzaW5lc3Mtem9uZTo6cHJvamVjdEM=.1"
expected: expected.projectC.endpoints.yaml
```