Last active
January 10, 2017 23:40
-
-
Save GiorgioRegni/96ce4813d52889c60904ecbd6154963b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while true; do | |
WAIT="$(( $RANDOM % 10 + 1 ))" | |
echo "Waiting $WAIT seconds" | |
sleep $WAIT | |
echo "Killing metadata nodes" | |
docker exec -it scality-metadata bash -c "pkill node" | |
docker exec -it scality-metadata bash -c "pkill RepdServerMap" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment