def Run(benchmark_spec):
  logging.info('Start benchmarking MySQL Service, '
               'Cloud Provider is %s.', FLAGS.cloud)
  vms = benchmark_spec.vms
  metadata = {
      'mysql_svc_oltp_tables_count': FLAGS.mysql_svc_oltp_tables_count,
      'mysql_svc_oltp_table_size': FLAGS.mysql_svc_oltp_table_size,
      'mysql_svc_db_instance_cores': FLAGS.mysql_svc_db_instance_cores,
      'sysbench_warm_up_seconds': FLAGS.sysbench_warmup_seconds,
      'sysbench_run_seconds': FLAGS.sysbench_run_seconds,
      'sysbench_thread_count': FLAGS.sysbench_thread_count,
      'sysbench_latency_percentile': FLAGS.sysbench_latency_percentile,
      'sysbench_report_interval': FLAGS.sysbench_report_interval
  }

  # The run phase is common across providers. The VMs[0] object contains all
  # information and states necessary to carry out the run.
  results = _RunSysbench(vms[0], metadata)
  print results
  return results
Test for Term._str_
dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/linux_benchmarks/mysql_service_benchmark.py/Run--crossover with--dataset/ETHPy150Open google/capirca/tests/nsxv_unittest.py/TermTest.test_str_forinet