3c431a3952415c49676954d534d00599f04b1f4e,perfkitbenchmarker/providers/gcp/gce_network.py,GceVPNGW,Delete,#GceVPNGW#,245

Before Change


        self.tunnels[tun].Delete()

    if self.forwarding_rules:
      for fr in self.forwarding_rules:
        self.forwarding_rules[fr].Delete()

    if self.routes:
      for route in self.routes:
        self.routes[route].Delete()

After Change


                          list(self.tunnels.keys()))

    if self.forwarding_rules:
      vm_util.RunThreaded(lambda fr: self.forwarding_rules[fr].Delete(),
                          list(self.forwarding_rules.keys()))

    if self.routes:
      vm_util.RunThreaded(lambda route: self.routes[route].Delete(),
                          list(self.routes.keys()))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 3c431a3952415c49676954d534d00599f04b1f4e
Time: 2020-04-01
Author: mzaber@smu.edu
File Name: perfkitbenchmarker/providers/gcp/gce_network.py
Class Name: GceVPNGW
Method Name: Delete


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 3c431a3952415c49676954d534d00599f04b1f4e
Time: 2020-04-01
Author: mzaber@smu.edu
File Name: perfkitbenchmarker/providers/gcp/gce_network.py
Class Name: GceNetwork
Method Name: Delete


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 3c431a3952415c49676954d534d00599f04b1f4e
Time: 2020-04-01
Author: mzaber@smu.edu
File Name: perfkitbenchmarker/providers/gcp/gce_network.py
Class Name: GceNetwork
Method Name: Create