38184fca0234ef4da34b84497b2cd0f4009a9c5b,perfkitbenchmarker/providers/aws/aws_managed_relational_db.py,AwsManagedRelationalDb,_IsInstanceReady,#AwsManagedRelationalDb#Any#Any#,480

Before Change


      stdout, _, _ = vm_util.IssueCommand(cmd, suppress_warning=True)

      try:
        json_output = json.loads(stdout)
        state = json_output["DBInstances"][0]["DBInstanceStatus"]
        logging.info("Instance state: {0}".format(state))
        if state == "available":
          self._SavePrimaryAndSecondaryZones(json_output)

After Change


        pending_values = json_output["DBInstances"][0]["PendingModifiedValues"]
        logging.info("Instance state: %s", state)
        if pending_values:
          logging.info("Pending values: %s", (str(pending_values)))

        if state == "available" and not pending_values:
          break
      except:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 38184fca0234ef4da34b84497b2cd0f4009a9c5b
Time: 2018-03-08
Author: nathante@google.com
File Name: perfkitbenchmarker/providers/aws/aws_managed_relational_db.py
Class Name: AwsManagedRelationalDb
Method Name: _IsInstanceReady


Project Name: amygdala/code-snippets
Commit Name: df54abf808331353917568b26e3fbfa69c0e5cef
Time: 2020-08-04
Author: amy@infosleuth.net
File Name: ml/kubeflow-pipelines/bikes_weather/components/kubeflow-resources/bikesw_training/deploy_tuner.py
Class Name:
Method Name: main


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 4da37abc3937edf62249daa010f5e522c6c04fd4
Time: 2018-03-07
Author: tohaowu@google.com
File Name: perfkitbenchmarker/providers/aws/aws_managed_relational_db.py
Class Name: AwsManagedRelationalDb
Method Name: _IsInstanceReady