05407943b051d37d956beb7f06ba4c8f47034e25,tests/providers/gcp/bigquery_test.py,BigqueryTestCase,testCliClientInterfacePrepare,#BigqueryTestCase#,149

Before Change


    FLAGS.gcp_service_account = "SERVICE_ACCOUNT"
    interface = bigquery.GetBigQueryClientInterface(PROJECT_ID, DATASET_ID)
    self.assertIsInstance(interface, bigquery.CliClientInterface)
    interface.SetClientVm(FakeRemoteVMForCliClientInterfacePrepare())
    interface.Prepare(BENCHMARK_NAME)

  def testCliClientInterfaceExecuteQuery(self):
    FLAGS.bq_client_interface = "CLI"

After Change


    FLAGS.gcp_service_account = "SERVICE_ACCOUNT"
    interface = bigquery.GetBigQueryClientInterface(PROJECT_ID, DATASET_ID)
    self.assertIsInstance(interface, bigquery.CliClientInterface)
    bm_spec = FakeBenchmarkSpec(FakeRemoteVMForCliClientInterfacePrepare())
    interface.SetProvisionedAttributes(bm_spec)
    interface.Prepare(BENCHMARK_NAME)

  def testCliClientInterfaceExecuteQuery(self):
    FLAGS.bq_client_interface = "CLI"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 05407943b051d37d956beb7f06ba4c8f47034e25
Time: 2020-06-10
Author: jerlawson@google.com
File Name: tests/providers/gcp/bigquery_test.py
Class Name: BigqueryTestCase
Method Name: testCliClientInterfacePrepare


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 05407943b051d37d956beb7f06ba4c8f47034e25
Time: 2020-06-10
Author: jerlawson@google.com
File Name: tests/providers/gcp/bigquery_test.py
Class Name: BigqueryTestCase
Method Name: testJavaClientInterfaceExecuteQuery


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 05407943b051d37d956beb7f06ba4c8f47034e25
Time: 2020-06-10
Author: jerlawson@google.com
File Name: tests/providers/gcp/bigquery_test.py
Class Name: BigqueryTestCase
Method Name: testJavaClientInterfacePrepare


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 05407943b051d37d956beb7f06ba4c8f47034e25
Time: 2020-06-10
Author: jerlawson@google.com
File Name: tests/providers/gcp/bigquery_test.py
Class Name: BigqueryTestCase
Method Name: testCliClientInterfaceExecuteQuery