Skip to content

Commit e8fbed8

Browse files
authored
chore(tests): add container checks (#130)
1 parent da6e44c commit e8fbed8

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

tests/nextsec-controller.robot

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,30 @@ Check if loki is running
2626
Should Be Equal As Integers ${rc} 0
2727
Should Contain ${output} active
2828

29+
Check if prometheus is running
30+
${output} ${rc} = Execute Command runagent -m ${module_id} systemctl --user is-active prometheus.service
31+
... return_rc=True
32+
Should Be Equal As Integers ${rc} 0
33+
Should Contain ${output} active
34+
35+
Check if promtail is running
36+
${output} ${rc} = Execute Command runagent -m ${module_id} systemctl --user is-active promtail.service
37+
... return_rc=True
38+
Should Be Equal As Integers ${rc} 0
39+
Should Contain ${output} active
40+
41+
Check if webssh is running
42+
${output} ${rc} = Execute Command runagent -m ${module_id} systemctl --user is-active webssh.service
43+
... return_rc=True
44+
Should Be Equal As Integers ${rc} 0
45+
Should Contain ${output} active
46+
47+
Check if timescale is running
48+
${output} ${rc} = Execute Command runagent -m ${module_id} systemctl --user is-active timescale.service
49+
... return_rc=True
50+
Should Be Equal As Integers ${rc} 0
51+
Should Contain ${output} active
52+
2953
Check health endpoint
3054
Wait Until Keyword Succeeds 60 times 10 seconds Check API Health
3155

0 commit comments

Comments
 (0)