summaryrefslogtreecommitdiffstats
path: root/ci/clean.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/clean.sh')
-rwxr-xr-xci/clean.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/ci/clean.sh b/ci/clean.sh
index 4b308fd0..0cd20761 100755
--- a/ci/clean.sh
+++ b/ci/clean.sh
@@ -16,6 +16,7 @@ if [[ "$jujuver" > "2" ]]; then
rm -rf precise
rm -rf trusty
rm -rf xenial
+ sudo sysctl -w vm.drop_caches=3
elif [ -d $HOME/.juju/environments ]; then
echo " " > status.txt
juju status &>>status.txt || true
@@ -33,5 +34,6 @@ elif [ -d $HOME/.juju/environments ]; then
rm -rf $HOME/.juju/.deployer-store-cache
rm -rf $HOME/.juju/environments
rm -rf $HOME/.juju/ssh
+ sudo sysctl -w vm.drop_caches=3
fi