Created
September 10, 2014 16:47
-
-
Save nelsnelson/24719af5f6c9a29f62ea 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
pushd /opt/stack/tempest | |
[[ -d .testrepository ]] || { echo "Initializing tempest workspace"; testr init; } | |
ps -eaf | grep -v grep | grep qemu-nbd | |
pgrep -f qemu-nbd | xargs -n1 echo sudo kill -9 | |
ls /dev/nbd* | xargs -n1 sudo qemu-nbd --disconnect | |
sed -i 's/\#suspend\=true/#suspend=true\nsuspend=false/' /opt/stack/tempest/etc/tempest.conf | |
sed -i 's/\#rescue\=true/#rescue=true\nrescue=false/' /opt/stack/tempest/etc/tempest.conf | |
sed -i 's/\#xml_api_v2\=true/#xml_api_v2=true\nxml_api_v2=false/' /opt/stack/tempest/etc/tempest.conf | |
testr run tempest.api.compute.servers.test_servers.ServersTestJSON.test_update_server_name | |
testr failing --list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment