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 02:19:33 UTC

[skywalking-website] branch master updated: Polish the design to be more generic (#184)

This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-website.git


The following commit(s) were added to refs/heads/master by this push:
     new a8bed6d  Polish the design to be more generic (#184)
a8bed6d is described below

commit a8bed6d2b3f538f3b27bdc95ee670da4ca3e1dec
Author: Zhenxu Ke <ke...@apache.org>
AuthorDate: Sat Dec 26 10:19:22 2020 +0800

    Polish the design to be more generic (#184)
---
 content/blog/e2e-design/index.md | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/content/blog/e2e-design/index.md b/content/blog/e2e-design/index.md
index 998af27..576f53d 100644
--- a/content/blog/e2e-design/index.md
+++ b/content/blog/e2e-design/index.md
@@ -75,20 +75,20 @@ 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
 ```
 
-- `--actual`: the actual data file;
-- `--expected`: the expected data file;
-- `--query`: the query to get the actual data, will be executed in command `swctl`;
+- `--actual`: the actual data file, only YAML file format is supported;
+- `--expected`: the expected data file, only YAML file format is supported;
+- `--query`: the query to get the actual data, the query result must have the same format as `--actual` and `--expected`;
   > The `--query` option will get the output into a temporary file and use the `--actual` under the hood;
 
 
@@ -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
 ```