4da37abc3937edf62249daa010f5e522c6c04fd4,perfkitbenchmarker/providers/aws/aws_managed_relational_db.py,AwsManagedRelationalDb,_IsInstanceReady,#AwsManagedRelationalDb#Any#Any#,480
Before Change
if (datetime.datetime.now() - start_time).seconds >= timeout:
logging.exception("Timeout waiting for sql instance to be ready")
return False
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
if (datetime.datetime.now() - start_time).seconds >= timeout:
logging.exception("Timeout waiting for sql instance to be ready")
return False
json_output = self._DescribeInstance(instance_id)
try:
state = json_output["DBInstances"][0]["DBInstanceStatus"]
pending_values = json_output["DBInstances"][0]["PendingModifiedValues"]
logging.info("Instance state: %s", state)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 6
Instances
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
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: _GetPortsForWriterInstance
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: 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: _GetPortsForWriterInstance