Skip to content

Commit 1cc4a09

Browse files
committed
test: remove monitrc test file
1 parent 1d9ae46 commit 1cc4a09

File tree

2 files changed

+1
-314
lines changed

2 files changed

+1
-314
lines changed

tests/data/monitrc

Lines changed: 0 additions & 313 deletions
This file was deleted.

tests/monit.robot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Test Setup
4848

4949
Decrease monit intervals
5050
[Documentation] Change default cycles to reduce the test execution times
51-
Transfer To Device ${CURDIR}/data/monitrc /etc/monit/monitrc
51+
Execute Command cmd=sed -i 's/set daemon .*/set daemon 5/g' /etc/monit/monitrc
5252
Execute Command chown root:root /etc/monit/monitrc && chmod 700 /etc/monit/monitrc
5353
Execute Command cmd=sed -i 's/every 120 cycles/every 5 cycles/g' /etc/monit/conf.d/tedge-monitoring.conf
5454
Execute Command cmd=sed -i 's/if status != 0 for 10 cycles/if status != 0 for 2 cycles/g' /etc/monit/conf.d/tedge-monitoring.conf

0 commit comments

Comments
 (0)