df4ac0ed8a1f42b864b49d45056ad8dc95b3510c,perfkitbenchmarker/providers/openstack/os_disk.py,OpenStackDisk,_Delete,#OpenStackDisk#,55

Before Change


            self.__nclient.volumes.delete(self._disk)
            is_deleted = False
            while not is_deleted:
                is_deleted = len(self.__nclient.volumes.findall(
                    display_name=self.name)) == 0
                time.sleep(sleep)
                sleep_count += 1
                if sleep_count == 10:

After Change


            self.__nclient.volumes.delete(self._disk)
            is_deleted = False
            while not is_deleted:
                volume = self.__nclient.volumes.get(self._disk.id)
                is_deleted = volume is None
                time.sleep(sleep)
                sleep_count += 1
                if sleep_count == 10:
                    sleep = 5
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: df4ac0ed8a1f42b864b49d45056ad8dc95b3510c
Time: 2015-12-08
Author: carlos.torres@rackspace.com
File Name: perfkitbenchmarker/providers/openstack/os_disk.py
Class Name: OpenStackDisk
Method Name: _Delete


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 83cebc42916feeac7632e0c3dec08643deb02117
Time: 2015-12-08
Author: carlos.torres@rackspace.com
File Name: perfkitbenchmarker/providers/openstack/os_virtual_machine.py
Class Name: OpenStackVirtualMachine
Method Name: _Exists


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: bfb02ae663293249daad399cb95c136556b2f56b
Time: 2015-12-07
Author: carlos.torres@rackspace.com
File Name: perfkitbenchmarker/providers/openstack/os_virtual_machine.py
Class Name: OpenStackVirtualMachine
Method Name: _Exists


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 874170dad8d905dcae3513b7a9cf7f95803480a2
Time: 2015-12-03
Author: carlos.torres@rackspace.com
File Name: perfkitbenchmarker/providers/openstack/os_disk.py
Class Name: OpenStackDisk
Method Name: _Delete