6fac2b4658a751ceed8d52bdfae1fa08af495f8c,tests/providers/gcp/gcp_managed_relational_db_test.py,GcpMysqlManagedRelationalDbTestCase,setUp,#GcpMysqlManagedRelationalDbTestCase#,86

Before Change


    }

  def setUp(self):
    flag_values = {"run_uri": "123", "project": None}

    p = mock.patch(gcp_managed_relational_db.__name__ + ".FLAGS")
    flags_mock = p.start()
    flags_mock.configure_mock(**flag_values)
    self.addCleanup(p.stop)
    mock_db_spec_attrs = self.createMySQLSpecDict()
    self.mock_db_spec = mock.Mock(
        spec=benchmark_config_spec._ManagedRelationalDbSpec)
    self.mock_db_spec.configure_mock(**mock_db_spec_attrs)

After Change


        "backup_start_time": "07:00",
    }

  def setUp(self):
    self.flags = mock_flags.PatchTestCaseFlags(self)
    self.flags.project = ""
    self.flags.run_uri = "123"
    self.flags.gcloud_path = "gcloud"

    mock_db_spec_attrs = self.createMySQLSpecDict()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 18

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 6fac2b4658a751ceed8d52bdfae1fa08af495f8c
Time: 2018-10-11
Author: ferneyhough@google.com
File Name: tests/providers/gcp/gcp_managed_relational_db_test.py
Class Name: GcpMysqlManagedRelationalDbTestCase
Method Name: setUp


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 6fac2b4658a751ceed8d52bdfae1fa08af495f8c
Time: 2018-10-11
Author: ferneyhough@google.com
File Name: tests/providers/gcp/gcp_tpu_test.py
Class Name: GcpTpuTestCase
Method Name: setUp


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 6fac2b4658a751ceed8d52bdfae1fa08af495f8c
Time: 2018-10-11
Author: ferneyhough@google.com
File Name: tests/linux_benchmarks/tensorflow_benchmark_test.py
Class Name: TensorflowBenchmarkBatchSizesTestCase
Method Name: setUp


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 6fac2b4658a751ceed8d52bdfae1fa08af495f8c
Time: 2018-10-11
Author: ferneyhough@google.com
File Name: tests/providers/gcp/gcp_managed_relational_db_test.py
Class Name: GcpMysqlManagedRelationalDbTestCase
Method Name: setUp