35533cd60dc37b63681ac63d92d0c60bb38dde48,perfkitbenchmarker/virtual_machine.py,BaseVirtualMachine,PushDataFile,#BaseVirtualMachine#Any#,409
Before Change
Args:
data_file: The data file vm needed.
file_path = DATA_DIR + data_file
if not os.path.isfile(file_path):
logging.error("File %s not found under %s directory",
data_file, DATA_DIR)
raise errors.VirtualMachine.VirtualMachineError(
"File %s not found under %s directory", data_file, DATA_DIR)
self.PushFile(file_path)
def CheckJavaVersion(self):
Check the version of java on remote machine.
After Change
Raises:
perfkitbenchmarker.data.ResourceNotFound: if "data_file" does not exist.
file_path = data.ResourcePath(data_file)
self.PushFile(file_path)
def CheckJavaVersion(self):
Check the version of java on remote machine.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 35533cd60dc37b63681ac63d92d0c60bb38dde48
Time: 2014-12-02
Author: connormccoy@google.com
File Name: perfkitbenchmarker/virtual_machine.py
Class Name: BaseVirtualMachine
Method Name: PushDataFile
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 35533cd60dc37b63681ac63d92d0c60bb38dde48
Time: 2014-12-02
Author: connormccoy@google.com
File Name: perfkitbenchmarker/benchmarks/speccpu2006_benchmark.py
Class Name:
Method Name: Prepare
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 35533cd60dc37b63681ac63d92d0c60bb38dde48
Time: 2014-12-02
Author: connormccoy@google.com
File Name: perfkitbenchmarker/benchmarks/coremark_benchmark.py
Class Name:
Method Name: Prepare