mirror of
https://github.com/rvalitov/zabbix-php-fpm.git
synced 2023-11-05 03:30:27 +01:00
[add] clear cache in tests
This commit is contained in:
parent
a8e3d1660f
commit
5b5765d8a3
@ -131,6 +131,13 @@ oneTimeSetUp() {
|
|||||||
echo "All done, starting tests..."
|
echo "All done, starting tests..."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#Called before every test
|
||||||
|
setUp() {
|
||||||
|
#Delete all cache files
|
||||||
|
sudo rm -rf "/etc/zabbix/*.cache"
|
||||||
|
}
|
||||||
|
|
||||||
|
#Called after every test
|
||||||
tearDown() {
|
tearDown() {
|
||||||
restoreUserParameters
|
restoreUserParameters
|
||||||
sleep 2
|
sleep 2
|
||||||
|
Loading…
Reference in New Issue
Block a user