9d35976700b9db72995fabdbf59a0719e53bc4bd,perfkitbenchmarker/windows_virtual_machine.py,WindowsMixin,WaitForBootCompletion,#WindowsMixin#,411

Before Change


    // Always wait for remote host command to succeed, because it is necessary to
    // run benchmarks.
    stdout, _ = self.RemoteCommand("hostname", suppress_warning=True)
    if self.bootable_time is None:
      self.bootable_time = time.time()
    if self.hostname is None:
      self.hostname = stdout.rstrip()
    if FLAGS.log_windows_password:
      logging.info("Password for %s: %s", self, self.password)

After Change


    to_wait_for = [self._WaitForWinRmCommand]
    if FLAGS.cluster_boot_test_rdp_port_listening:
      to_wait_for.append(self._WaitForRdpPort)
    vm_util.RunParallelThreads([(method, [], {}) for method in to_wait_for], 2)

  @vm_util.Retry(log_errors=False, poll_interval=1, timeout=2400)
  def _WaitForRdpPort(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 9d35976700b9db72995fabdbf59a0719e53bc4bd
Time: 2019-11-06
Author: pclay@google.com
File Name: perfkitbenchmarker/windows_virtual_machine.py
Class Name: WindowsMixin
Method Name: WaitForBootCompletion


Project Name: samuelclay/NewsBlur
Commit Name: 0d5eb96adeb12ecc2c2a1fd4554cc6a01c5c5b98
Time: 2014-04-22
Author: samuel@ofbrooklyn.com
File Name: apps/search/models.py
Class Name: MUserSearch
Method Name: index_subscriptions_for_search


Project Name: pantsbuild/pants
Commit Name: 937907d721b8e4e9628b6d13bb59423e4406a5f1
Time: 2015-04-20
Author: itay@twitter.com
File Name: src/python/pants/backend/python/tasks/pytest_run.py
Class Name: PytestRun
Method Name: _do_run_tests