Remove baseline metrics
This is seemingly only here for debugging and doesn't seem useful anymore..
Change-Id: Ic4182e694d22ed779857322a40d428268ccf8b58
diff --git a/turbo_hipster/task_plugins/real_db_upgrade/baseline.sh b/turbo_hipster/task_plugins/real_db_upgrade/baseline.sh
deleted file mode 100755
index 0646929..0000000
--- a/turbo_hipster/task_plugins/real_db_upgrade/baseline.sh
+++ /dev/null
@@ -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"
diff --git a/turbo_hipster/task_plugins/real_db_upgrade/task.py b/turbo_hipster/task_plugins/real_db_upgrade/task.py
index 510cdee..252160a 100644
--- a/turbo_hipster/task_plugins/real_db_upgrade/task.py
+++ b/turbo_hipster/task_plugins/real_db_upgrade/task.py
@@ -161,14 +161,6 @@
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