Remove baseline metrics

This is seemingly only here for debugging and doesn't seem useful anymore..

Change-Id: Ic4182e694d22ed779857322a40d428268ccf8b58
This commit is contained in:
Joshua Hesketh 2014-05-06 15:00:18 +10:00
parent 504115edb0
commit d9048baabf
2 changed files with 0 additions and 19 deletions
turbo_hipster/task_plugins/real_db_upgrade

@ -1,11 +0,0 @@
#!/bin/bash
# Generate a baseline measure of the performance of an instance
# $1 is a string descript of the instance flavor
echo "Instance flavor: $1"
echo "IO test starts"
time dd if=/dev/zero bs=1024000 count=1024 of=/tmp/test-$$.dd
rm -f /tmp/test-$$.dd
echo "IO test ends"

@ -161,14 +161,6 @@ class Runner(models.ShellTask):
self.log.debug("Run the db sync upgrade script")
for dataset in self.job_datasets:
cmd = os.path.join(os.path.join(os.path.dirname(__file__),
(self.worker_server.config['baseline_command']
% self.worker_server.config['flavor'])))
rc = utils.execute_to_log(
cmd,
dataset['job_log_file_path'],
)
cmd = dataset['command']
# $1 is the unique id
# $2 is the working dir path