...
The Queue attribute was created to address this situation.
...
...
...
...
...
...
...
...
...
...
...
...
004
task 005
endfamily
endsuite |
| |
---|
...
...
f1
queue q1 001 002 003 004 005 006
task t
endfamily
endsuite |
|
---|
Code Block |
---|
suite test_queue
endfamily
family f2f1
queue q1 001 002 003 task a004 005 006 007
task t
endfamily
family f2
queue q2 1 2 3 4 5 6 8 9 10
task a
task b
# notice that queue name is accessible to the trigger
trigger /test_queue/f1:q1 > 5
task c
trigger ../test_queue/f2/a:q2 > 9
endfamily
endsuite |
There is a new child command --queue, that will signal when a step is active, complete, or has aborted.
...
The queue values can be strings, however, if they are to be used in trigger expressions, they must be convertible to integers.
Code Block |
---|
suite test_queue
family f1
queue q1 red orange yellow green blue indigo violet
task t
endfamily
endsuite |