From 0f3d501a2b81610886f7d518fc06ef9e5b346156 Mon Sep 17 00:00:00 2001 From: Rakesh <153008248+RakeshwarK@users.noreply.github.com> Date: Mon, 13 May 2024 13:55:43 -0700 Subject: [PATCH 1/2] Updated Functional Tests Signed-off-by: Rakesh <153008248+RakeshwarK@users.noreply.github.com> --- .../AspNetBenchProfileTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/VirtualClient/VirtualClient.Actions.FunctionalTests/AspNetBenchProfileTests.cs b/src/VirtualClient/VirtualClient.Actions.FunctionalTests/AspNetBenchProfileTests.cs index 03864f99e2..26a1408bb6 100644 --- a/src/VirtualClient/VirtualClient.Actions.FunctionalTests/AspNetBenchProfileTests.cs +++ b/src/VirtualClient/VirtualClient.Actions.FunctionalTests/AspNetBenchProfileTests.cs @@ -106,7 +106,7 @@ private IEnumerable GetProfileExpectedCommands(PlatformID platform) case PlatformID.Win32NT: commands = new List { - @"dotnet\.exe build -c Release -p:BenchmarksTargetFramework=net7.0", + @"dotnet\.exe build -c Release -p:BenchmarksTargetFramework=net8.0", @"dotnet\.exe .+Benchmarks.dll --nonInteractive true --scenarios json --urls http://localhost:9876 --server Kestrel --kestrelTransport Sockets --protocol http --header ""Accept:.+ keep-alive", @"bombardier\.exe --duration 15s --connections 256 --timeout 10s --fasthttp --insecure -l http://localhost:9876/json --print r --format json" }; @@ -116,7 +116,7 @@ private IEnumerable GetProfileExpectedCommands(PlatformID platform) commands = new List { @"chmod \+x .+bombardier", - @"dotnet build -c Release -p:BenchmarksTargetFramework=net7.0", + @"dotnet build -c Release -p:BenchmarksTargetFramework=net8.0", @"dotnet .+Benchmarks.dll --nonInteractive true --scenarios json --urls http://localhost:9876 --server Kestrel --kestrelTransport Sockets --protocol http --header ""Accept:.+ keep-alive", @"bombardier --duration 15s --connections 256 --timeout 10s --fasthttp --insecure -l http://localhost:9876/json --print r --format json" }; From fdf23c8a32792cc2fdcacd925681e567aced63c0 Mon Sep 17 00:00:00 2001 From: Rakeshwar Reddy Kambaiahgari Date: Fri, 17 Jan 2025 12:49:37 -0800 Subject: [PATCH 2/2] Commit aspnet repo --- .../VirtualClient.Main/profiles/PERF-ASPNETBENCH-MULTI.json | 1 + .../VirtualClient.Main/profiles/PERF-ASPNETBENCH.json | 1 + website/docs/dependencies/0040-install-git-repo.md | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/VirtualClient/VirtualClient.Main/profiles/PERF-ASPNETBENCH-MULTI.json b/src/VirtualClient/VirtualClient.Main/profiles/PERF-ASPNETBENCH-MULTI.json index 5b722b2e5d..44f2ef4970 100644 --- a/src/VirtualClient/VirtualClient.Main/profiles/PERF-ASPNETBENCH-MULTI.json +++ b/src/VirtualClient/VirtualClient.Main/profiles/PERF-ASPNETBENCH-MULTI.json @@ -73,6 +73,7 @@ "Parameters": { "Scenario": "CloneAspNetBenchmarksRepo", "RepoUri": "https://github.com/aspnet/Benchmarks.git", + "Commit": "cf5b6ee", "PackageName": "aspnetbenchmarks" } }, diff --git a/src/VirtualClient/VirtualClient.Main/profiles/PERF-ASPNETBENCH.json b/src/VirtualClient/VirtualClient.Main/profiles/PERF-ASPNETBENCH.json index c581aa6ff6..f4baf54582 100644 --- a/src/VirtualClient/VirtualClient.Main/profiles/PERF-ASPNETBENCH.json +++ b/src/VirtualClient/VirtualClient.Main/profiles/PERF-ASPNETBENCH.json @@ -42,6 +42,7 @@ "Parameters": { "Scenario": "CloneAspNetBenchmarksRepo", "RepoUri": "https://github.com/aspnet/Benchmarks.git", + "Commit": "cf5b6ee", "PackageName": "aspnetbenchmarks" } }, diff --git a/website/docs/dependencies/0040-install-git-repo.md b/website/docs/dependencies/0040-install-git-repo.md index 6ae4b423b5..3f2244a37c 100644 --- a/website/docs/dependencies/0040-install-git-repo.md +++ b/website/docs/dependencies/0040-install-git-repo.md @@ -37,7 +37,7 @@ In this example, VC clones https://github.com/eembc/coremark.git into the runtim "Type": "GitRepoClone", "Parameters": { "RepoUri": "https://github.com/eembc/coremark.git", - "Commit": "v1.01" + "Commit": "v1.01", "PackageName": "coremark" } }