Change naming and veriy test-scheduler function
[bottlenecks.git] / test-scheduler / server / test / test_case / logic / tc_logic_06.yaml
1 ##############################################################################
2 # Copyright (c) 2018 HUAWEI TECHNOLOGIES CO.,LTD and others.
3 #
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9
10 ---
11 # description: test conductor basic logic of parallel
12
13 schema:
14   steps:
15     -
16       id: 1
17       name: choose_greet_type
18       type: test
19       service:
20         name: greet
21         interface: switch
22       action: start
23
24     -
25       id: 2
26       name: response_the_greet
27       type: test
28       service:
29         name: greet
30         interface: answer
31       action: start
32       args:
33         ping: ping_from_leo
34
35     -
36       id: 3
37       name: make_a_greet
38       type: test
39       service:
40         name: greet
41         interface: greet
42       action: start
43       args:
44         name: leo_@
45
46     -
47       id: 4
48       name: make_a_greet_2
49       type: test
50       service:
51         name: greet
52         interface: greet
53       action: start
54       args:
55         name: leo_@
56
57   flows:
58     -
59       name: main
60       orders:
61         -
62           type: normal
63           step: 1
64         -
65           type: parallel
66           parallel:
67             p1: flow-1
68             p2:
69               -
70                 type: normal
71                 step: 4
72     -
73       name: flow-1
74       orders:
75         -
76           type: normal
77           step: 2
78         -
79           type: normal
80           step: 3