Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/VirtualClient/TestResources/WebFundamentalsResults.xml
Original file line number Diff line number Diff line change
Expand Up @@ -623,10 +623,10 @@
</section>
<warnings>
<warning name="testhaderrors" type="warning" >This test contained errors.</warning>
<warning name="wmierror" type="warning" >An error occured collecting server information data. Check that WMI is available.</warning>
<warning name="wmierror" type="warning" >An error occurred collecting server information data. Check that WMI is available.</warning>
<warning name="badvalue" type="warning" >An error was encountered querying remote server information. This value may be wrong.</warning>
<warning name="countererror" type="warning" >An error occured during the collection of this counter.</warning>
<warning name="perfmonerror" type="warning" >An error occured during the collection of performance counters.</warning>
<warning name="countererror" type="warning" >An error occurred during the collection of this counter.</warning>
<warning name="perfmonerror" type="warning" >An error occurred during the collection of performance counters.</warning>
<warning name="lowcachehits" type="warning" >HTTP.sys cache hits number is low: either warmed up during cold test or didn't warm up enough during normal test.</warning>
</warnings>
<titles>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void SetupTest()
}

[Test]
public void Compressor7zipStateIsSerializeable()
public void Compressor7zipStateIsSerializable()
{
State state = new State(new Dictionary<string, IConvertible>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public async Task CoreMarkExecutorExecutesTheExpectedCommandInWindows()
}

[Test]
public async Task CoreMarkExecutorExcutesAllowsThreadOverWrite()
public async Task CoreMarkExecutorExecutesAllowsThreadOverWrite()
{
this.SetupTest(PlatformID.Unix);
this.Parameters = new Dictionary<string, IConvertible>()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public void SetupTest(PlatformID platform)
}

[Test]
public async Task CoreMarkProExecutorExcutesAsExpectedInLinux()
public async Task CoreMarkProExecutorExecutesAsExpectedInLinux()
{
this.SetupTest(PlatformID.Unix);
this.ProcessManager.OnCreateProcess = (cmd, args, wd) =>
Expand All @@ -52,7 +52,7 @@ public async Task CoreMarkProExecutorExcutesAsExpectedInLinux()
}

[Test]
public async Task CoreMarkProExecutorExcutesAsExpectedInWindows()
public async Task CoreMarkProExecutorExecutesAsExpectedInWindows()
{
this.SetupTest(PlatformID.Win32NT);
this.ProcessManager.OnCreateProcess = (cmd, args, wd) =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public void CtsTrafficDatabaseStateObjectsAreJsonSerializable()
}

[Test]
public async Task CtsTrafficClientExecutorIntializesTheExpectedAPIClients_MultiVM_Environment()
public async Task CtsTrafficClientExecutorInitializesTheExpectedAPIClients_MultiVM_Environment()
{
this.SetupTest();
using (var executor = new TestCtsTrafficExecutor(this.Dependencies, this.Parameters))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public void SetupTest()
}

[Test]
public async Task DeathStarBenchClientExecutorIntializeLocalAPIClientOnSingleVMSetup()
public async Task DeathStarBenchClientExecutorInitializeLocalAPIClientOnSingleVMSetup()
{
this.mockFixture.Dependencies.RemoveAll<EnvironmentLayout>();
using (TestDeathStarBenchClientExecutor executor = new TestDeathStarBenchClientExecutor(this.mockFixture.Dependencies, this.mockFixture.Parameters))
Expand All @@ -121,7 +121,7 @@ public async Task DeathStarBenchClientExecutorIntializeLocalAPIClientOnSingleVMS
}

[Test]
public async Task DeathStarBenchClientExecutorIntializeServerAPIClientOnMultiVMSetup()
public async Task DeathStarBenchClientExecutorInitializeServerAPIClientOnMultiVMSetup()
{
using (TestDeathStarBenchClientExecutor executor = new TestDeathStarBenchClientExecutor(this.mockFixture.Dependencies, this.mockFixture.Parameters))
{
Expand All @@ -139,7 +139,7 @@ public async Task DeathStarBenchClientExecutorIntializeServerAPIClientOnMultiVMS
public async Task DeathStarBenchClientExecutorExecutesExpectedCommands_SocialNetworkScenario_MultiVM()
{
string serviceName = "socialnetwork";
string binaryPath = this.mockFixture.PlatformSpecifics.Combine("linux-x64", serviceName.ToLower(), "wrk2");
string binaryPath = this.mockFixture.PlatformSpecifics.Combine("linux-x64", serviceName.ToLower(), "work2");
this.mockFixture.Parameters[nameof(DeathStarBenchExecutor.ServiceName)] = serviceName;

List<string> expectedCommands = new List<string>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public async Task DeathStarBenchExecutorServerDoesNotStartItselfOnMultiVMScenari
}

[Test]
public async Task DeathStarBenchExecutorInstallsDepedenciesAsExpected()
public async Task DeathStarBenchExecutorInstallsDependenciesAsExpected()
{
this.SetupTest(PlatformID.Unix);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public void SetupDefaultBehavior()
}

[Test]
public void GzipStateIsSerializeable()
public void GzipStateIsSerializable()
{
State state = new State(new Dictionary<string, IConvertible>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@ public class HPLinpackExecutorTests

private MockFixture mockFixture;
private DependencyPath mockPackage;
private DependencyPath mockPerformanceLibariesPackage;
private DependencyPath mockPerformanceLibrariesPackage;
private string exampleResults;

private void SetupTest(PlatformID platform = PlatformID.Unix, Architecture architecture = Architecture.X64)
{
this.mockFixture = new MockFixture();
this.mockPackage = new DependencyPath("HPL", this.mockFixture.GetPackagePath("hplinpack"));
this.mockPerformanceLibariesPackage = new DependencyPath("hplperformancelibraries", this.mockFixture.GetPackagePath("hplperformancelibraries"));
this.mockPerformanceLibrariesPackage = new DependencyPath("hplperformancelibraries", this.mockFixture.GetPackagePath("hplperformancelibraries"));


this.mockFixture.Setup(platform, architecture);
this.mockFixture.SetupPackage(this.mockPackage);
this.mockFixture.SetupPackage(this.mockPerformanceLibariesPackage);
this.mockFixture.SetupPackage(this.mockPerformanceLibrariesPackage);

this.mockFixture.FileSystem.Setup(fe => fe.File.Exists(It.IsAny<string>())).Returns(true);
this.mockFixture.FileSystem.Setup(fe => fe.File.Exists(null)).Returns(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void SetupDefaultBehavior()
}

[Test]
public void LzbenchStateIsSerializeable()
public void LzbenchStateIsSerializable()
{
State state = new State(new Dictionary<string, IConvertible>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void MLPerfExecutorThrowsOnUnsupportedLinuxDistro()
}

[Test]
public void MLPerfStateIsSerializeable()
public void MLPerfStateIsSerializable()
{
State state = new State(new Dictionary<string, IConvertible>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public async Task NASParallelBenchExecutorRunsExpectedCommandForBuild()
}
}
[Test]
public async Task NASParallelBenchExecutorCreatesExpectedStateOnSuccessfullBuild()
public async Task NASParallelBenchExecutorCreatesExpectedStateOnSuccessfulBuild()
{
this.SetupTest(PlatformID.Unix);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public async Task CPSExecutorInitializesItsDependencyPackageAsExpected_Windows(P
[TestCase(PlatformID.Unix, Architecture.X64, ClientRole.Server)]
[TestCase(PlatformID.Unix, Architecture.Arm64, ClientRole.Client)]
[TestCase(PlatformID.Unix, Architecture.Arm64, ClientRole.Server)]
public async Task CPSExecutorIntializeServerAPIClientForClientRoleOnMultiVMSetup_Linux(PlatformID platformID, Architecture architecture, string role)
public async Task CPSExecutorInitializeServerAPIClientForClientRoleOnMultiVMSetup_Linux(PlatformID platformID, Architecture architecture, string role)
{
this.SetupTest(platformID, architecture, role);
using (TestCPSExecutor executor = new TestCPSExecutor(this.mockFixture.Dependencies, this.mockFixture.Parameters))
Expand Down Expand Up @@ -182,7 +182,7 @@ public async Task CPSExecutorIntializeServerAPIClientForClientRoleOnMultiVMSetup
[TestCase(PlatformID.Win32NT, Architecture.X64, ClientRole.Server)]
[TestCase(PlatformID.Win32NT, Architecture.Arm64, ClientRole.Client)]
[TestCase(PlatformID.Win32NT, Architecture.Arm64, ClientRole.Server)]
public async Task CPSExecutorIntializeServerAPIClientForClientRoleOnMultiVMSetup_Windows(PlatformID platformID, Architecture architecture, string role)
public async Task CPSExecutorInitializeServerAPIClientForClientRoleOnMultiVMSetup_Windows(PlatformID platformID, Architecture architecture, string role)
{
this.SetupTest(platformID, architecture, role);
using (TestCPSExecutor executor = new TestCPSExecutor(this.mockFixture.Dependencies, this.mockFixture.Parameters))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public async Task LatteExecutorInitializesItsDependencyPackageAsExpected(Platfor
[TestCase(PlatformID.Win32NT, Architecture.X64, ClientRole.Server)]
[TestCase(PlatformID.Win32NT, Architecture.Arm64, ClientRole.Client)]
[TestCase(PlatformID.Win32NT, Architecture.Arm64, ClientRole.Server)]
public async Task LatteExecutorIntializeServerAPIClientAndLocalAPIClientOnMultiVMSetup(PlatformID platformID, Architecture architecture, string role)
public async Task LatteExecutorInitializeServerAPIClientAndLocalAPIClientOnMultiVMSetup(PlatformID platformID, Architecture architecture, string role)
{
this.SetupTest(platformID, architecture, role);
using (TestLatteExecutor executor = new TestLatteExecutor(this.mockFixture.Dependencies, this.mockFixture.Parameters))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public async Task NTttcpExecutorInitializesItsDependencyPackageAsExpected_Unix(P
[TestCase(PlatformID.Win32NT, Architecture.X64, ClientRole.Server)]
[TestCase(PlatformID.Win32NT, Architecture.Arm64, ClientRole.Client)]
[TestCase(PlatformID.Win32NT, Architecture.Arm64, ClientRole.Server)]
public async Task NTttcpExecutorIntializeServerAPIClientForClientRoleOnMultiVMSetup_Win(PlatformID platformID, Architecture architecture, string role)
public async Task NTttcpExecutorInitializeServerAPIClientForClientRoleOnMultiVMSetup_Win(PlatformID platformID, Architecture architecture, string role)
{
this.SetupTest(platformID, architecture, role);
using (TestNTttcpExecutor executor = new TestNTttcpExecutor(this.mockFixture.Dependencies, this.mockFixture.Parameters))
Expand Down Expand Up @@ -213,7 +213,7 @@ public async Task NTttcpExecutorIntializeServerAPIClientForClientRoleOnMultiVMSe
[TestCase(PlatformID.Unix, Architecture.X64, ClientRole.Server)]
[TestCase(PlatformID.Unix, Architecture.Arm64, ClientRole.Client)]
[TestCase(PlatformID.Unix, Architecture.Arm64, ClientRole.Server)]
public async Task NTttcpExecutorIntializeServerAPIClientForClientRoleOnMultiVMSetup_Unix(PlatformID platformID, Architecture architecture, string role)
public async Task NTttcpExecutorInitializeServerAPIClientForClientRoleOnMultiVMSetup_Unix(PlatformID platformID, Architecture architecture, string role)
{
this.SetupTest(platformID, architecture, role);
using (TestNTttcpExecutor executor = new TestNTttcpExecutor(this.mockFixture.Dependencies, this.mockFixture.Parameters))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public async Task SockPerfExecutorInitializesItsDependencyPackageAsExpected(Plat
[TestCase(PlatformID.Unix, Architecture.X64, ClientRole.Server)]
[TestCase(PlatformID.Unix, Architecture.Arm64, ClientRole.Client)]
[TestCase(PlatformID.Unix, Architecture.Arm64, ClientRole.Server)]
public async Task SockPerfExecutorIntializeServerAPIClientForClientRoleOnMultiVMSetup(PlatformID platformID, Architecture architecture, string role)
public async Task SockPerfExecutorInitializeServerAPIClientForClientRoleOnMultiVMSetup(PlatformID platformID, Architecture architecture, string role)
{
this.SetupTest(platformID, architecture, role);
using (TestSockPerfExecutor executor = new TestSockPerfExecutor(this.Dependencies, this.Parameters))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public void SetupDefaultBehavior()
}

[Test]
public void Pbzip2StateIsSerializeable()
public void Pbzip2StateIsSerializable()
{
State state = new State(new Dictionary<string, IConvertible>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class SpecCpuExecutorTests
private DependencyPath mockPackage;

[Test]
public void SpecCpuStateIsSerializeable()
public void SpecCpuStateIsSerializable()
{
State state = new State(new Dictionary<string, IConvertible>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public async Task SpecViewExecutorRenamedResultsDirAsExpected(PlatformID platfor
string mockResultDir = this.mockFixture.Combine(this.mockSpecViewExeDir, "results_19991231T235959");
string mockHistoryResultsDir = this.mockFixture.Combine(this.mockSpecViewExeDir, "hist_" + Path.GetFileName(mockResultDir));

// Set up the mock directory to return the mock result dir when the test executor tries to find a dir that starts wth "results_"
// Set up the mock directory to return the mock result dir when the test executor tries to find a dir that starts with "results_"
mockFixture.Directory.Setup(dir => dir.GetDirectories(this.mockSpecViewExeDir, "results_*", SearchOption.TopDirectoryOnly)).Returns(new[] { mockResultDir });

// Set up the mock directory to increment resultRenamed by 1 when the test executor tries to rename the result directory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public void JsonMetricsParserThrowsIfTheJsonArrayResultsHaveInvalidMetrics()
}

[Test]
public void JsonMetricsParserThrowsIfTheJsonArrayResultsHaveMisingMetricName()
public void JsonMetricsParserThrowsIfTheJsonArrayResultsHaveMissingMetricName()
{
string rawText = "[\r\n\t{\r\n\t\t\"Value\": 0,\r\n\t\t\"Unit\": \"unit3\",\r\n\t\t\"MetaData\": {\r\n\t\t\t\"metadata1\": \"m5\",\r\n\t\t\t\"metadata2\": \"m6\"\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\t\"Name\": \"metric4\",\r\n\t\t\"Value\": 1.0,\r\n\t\t\"MetaData\": {\r\n\t\t\t\"metadata1\": \"m7\"\r\n\t\t}\r\n\t}\r\n]";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void SetupDefaultBehavior()
}

[Test]
public void SuperBenchmarkStateIsSerializeable()
public void SuperBenchmarkStateIsSerializable()
{
State state = new State(new Dictionary<string, IConvertible>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public override IList<Metric> Parse()
metrics.Add(new Metric(
"Compression_Ratio",
(Convert.ToDouble(this.SizeAndTime.Rows[2].ItemArray[2]) / Convert.ToDouble(this.SizeAndTime.Rows[0].ItemArray[2])) * 100,
"precentage",
"percentage",
relativity: MetricRelativity.LowerIsBetter,
verbosity: 2));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ private async Task InitializePackageLocationAsync(CancellationToken cancellation
/// </summary>
private string GenerateCommandArgument(string scene, string deviceType)
{
// --verbosity 3 gives detailed error messsage if Blender fails to run
// --verbosity 3 gives detailed error message if Blender fails to run
return $"benchmark --blender-version {this.BlenderVersion} --device-type {deviceType} {scene} --json --verbosity 3";
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public string CompilerVersion
}

/// <summary>
/// Allos overwrite to Coremark process thread count.
/// Allows overwrite to Coremark process thread count.
/// </summary>
public int ThreadCount
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public string CompilerVersion
}

/// <summary>
/// Allos overwrite to Coremark process thread count.
/// Allows overwrite to Coremark process thread count.
/// </summary>
public int ThreadCount
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public string LinuxCudaVersion
}

/// <summary>
/// Initializes enviroment to run DCGMI.
/// Initializes environment to run DCGMI.
/// </summary>
/// <param name="telemetryContext">Provides context information that will be captured with telemetry events.</param>
/// <param name="cancellationToken">A token that can be used to cancel the operation.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ await this.ExecuteCommandAsync(@$"bash -c ""{this.PythonExecutablePath} scripts/
}
catch
{
throw new Exception($"Error occured at starting server in {this.ServiceName}");
throw new Exception($"Error occurred at starting server in {this.ServiceName}");
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ protected ISystemManagement SystemManagement
}

/// <summary>
/// Applies the configuration specificed to the parameters of the profile
/// Applies the configuration specified to the parameters of the profile
/// workload action.
/// </summary>
/// <param name="telemetryContext">Provides context information to include with telemetry events.</param>
Expand Down Expand Up @@ -515,11 +515,11 @@ protected virtual string GetTestFile(string mountPoint)
}

/// <summary>
/// Returns the name of the test files seperated by whitespace given a mount point.
/// Returns the name of the test files separated by whitespace given a mount point.
/// </summary>
/// <param name="mountPoint">A mount point to the disk under test.</param>
/// <returns>
/// The full path to the test files seperated by whitespace.
/// The full path to the test files separated by whitespace.
/// </returns>
protected virtual string GetTestFiles(string mountPoint)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class DiskSpdMetricsParser : MetricsParser
private static readonly Regex DiskSpdSectionDelimiter = new Regex(@"(\n)(\s)*(\n)", RegexOptions.ExplicitCapture);

/// <summary>
/// Separate the column values by '|' and trim surrouding spaces..
/// Separate the column values by '|' and trim surrounding spaces..
/// </summary>
private static readonly Regex DiskSpdDataTableDelimiter = new Regex(@"( )*(\|)( )*", RegexOptions.ExplicitCapture);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public int ServerPort

/// <summary>
/// It is common to use local member variables or properties to keep track of the names of
/// workload binaries/executables. Dependending upon the OS platform (Linux vs. Windows) we are on
/// workload binaries/executables. Depending upon the OS platform (Linux vs. Windows) we are on
/// the names of the binaries might be different.
/// </summary>
protected string WorkloadExecutablePath { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public int ExampleParameter2

/// <summary>
/// It is common to use local member variables or properties to keep track of the names of
/// workload binaries/executables. Dependending upon the OS platform (Linux vs. Windows) we are on
/// workload binaries/executables. Depending upon the OS platform (Linux vs. Windows) we are on
/// the names of the binaries might be different.
/// </summary>
protected string WorkloadExecutablePath { get; set; }
Expand Down
Loading
Loading