blob: 921d79b4d6ea306e10dbe9ae1cfd5592098da0db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
*** Settings ***
Library OperatingSystem
Library Process
Library String
*** Keywords ***
Build Topology
[Arguments]
... ${TEST_TOPOLOGY}=${NONE}
... ${TEST_CONFIGURATION}=${NONE}
Log to console
... Building topology ${TEST_TOPOLOGY} ${TEST_CONFIGURATION}
${result_setup} = Run Process
... ${EXECDIR}/config.sh
... build
... setup
... ${TEST_TOPOLOGY}
... ${TEST_CONFIGURATION}
... stdout=${TEMPDIR}/stdout.txt
... stderr=${TEMPDIR}/stderr.txt
Log to console Done
Log Many
... stdout: ${result_setup.stdout}
... stderr: ${result_setup.stderr}
Should Be Equal As Integers ${result_setup.rc} 0
Check Environment
${result} = Run Process docker ps
Log Many
... stdout: ${result.stdout}
... stderr: ${result.stderr}
Destroy Topology
${result_teardown} = Run Process ${EXECDIR}/config.sh stopall
Log Many
... stdout: ${result_teardown.stdout}
... stderr: ${result_teardown.stderr}
Should Be Equal As Integers ${result_teardown.rc} 0
|