From 75521e6bbe7102cc833508fb615737aab78a99e4 Mon Sep 17 00:00:00 2001 From: Bradley Grainger Date: Tue, 29 Jul 2025 08:47:25 -0700 Subject: [PATCH 1/5] Update MySqlConnector to latest version. The NuGet package and .NET version being used were both out of support. --- .../dotnet/MySqlConnector/MySqlConnectorTest.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration-tests/mysql-client-tests/dotnet/MySqlConnector/MySqlConnectorTest.csproj b/integration-tests/mysql-client-tests/dotnet/MySqlConnector/MySqlConnectorTest.csproj index c56182acc7..be3ae18ff6 100755 --- a/integration-tests/mysql-client-tests/dotnet/MySqlConnector/MySqlConnectorTest.csproj +++ b/integration-tests/mysql-client-tests/dotnet/MySqlConnector/MySqlConnectorTest.csproj @@ -2,11 +2,11 @@ Exe - net5.0 + net8.0 - + From e4a681be4e6c7ba7fc31cce0d3b14f93889700da Mon Sep 17 00:00:00 2001 From: Neil Macneale IV Date: Tue, 29 Jul 2025 18:34:10 +0000 Subject: [PATCH 2/5] Update MySQLDockerfile to use .NET 8.0 SDK MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Upgrade from .NET 5.0.400 to .NET 8.0 using Microsoft's official dotnet-install.sh script. This fixes test failures in PR #9597 where the updated MySqlConnector package requires .NET 8.0 support. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- integration-tests/MySQLDockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/integration-tests/MySQLDockerfile b/integration-tests/MySQLDockerfile index 8824f670ca..afc964d72f 100644 --- a/integration-tests/MySQLDockerfile +++ b/integration-tests/MySQLDockerfile @@ -78,8 +78,7 @@ RUN go install . WORKDIR / # install dotnet -RUN curl -LO https://download.visualstudio.microsoft.com/download/pr/13b9d84c-a35b-4ffe-8f62-447a01403d64/1f9ae31daa0f7d98513e7551246899f2/dotnet-sdk-5.0.400-linux-x64.tar.gz && \ - tar -C /usr/local/bin -xzf dotnet-sdk-5.0.400-linux-x64.tar.gz && \ +RUN curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel 8.0 --install-dir /usr/local/bin --no-path && \ dotnet --version # install pip for python3.9 From 65e27bc8922fa92020ee21b9fba2b545c5f2fa23 Mon Sep 17 00:00:00 2001 From: Neil Macneale IV Date: Tue, 29 Jul 2025 18:38:41 +0000 Subject: [PATCH 3/5] Pin .NET SDK to version 8.0.412 for reproducible builds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update from using --channel 8.0 to --version 8.0.412 to ensure consistent and reproducible testing environment. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- integration-tests/MySQLDockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-tests/MySQLDockerfile b/integration-tests/MySQLDockerfile index afc964d72f..7821c11a46 100644 --- a/integration-tests/MySQLDockerfile +++ b/integration-tests/MySQLDockerfile @@ -78,7 +78,7 @@ RUN go install . WORKDIR / # install dotnet -RUN curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel 8.0 --install-dir /usr/local/bin --no-path && \ +RUN curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --version 8.0.412 --install-dir /usr/local/bin --no-path && \ dotnet --version # install pip for python3.9 From 70cf8e475a01b683866f191e7d327d3fce52b731 Mon Sep 17 00:00:00 2001 From: Neil Macneale IV Date: Tue, 29 Jul 2025 11:47:01 -0700 Subject: [PATCH 4/5] Set end line format to unix --- .../MySqlConnector/MySqlConnectorTest.csproj | 23 +++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/integration-tests/mysql-client-tests/dotnet/MySqlConnector/MySqlConnectorTest.csproj b/integration-tests/mysql-client-tests/dotnet/MySqlConnector/MySqlConnectorTest.csproj index be3ae18ff6..71de47491f 100755 --- a/integration-tests/mysql-client-tests/dotnet/MySqlConnector/MySqlConnectorTest.csproj +++ b/integration-tests/mysql-client-tests/dotnet/MySqlConnector/MySqlConnectorTest.csproj @@ -1,12 +1,11 @@ - - - - Exe - net8.0 - - - - - - - + + + + Exe + net8.0 + + + + + + From 06b4e810393a024edcd23dbe1921ca6888324bde Mon Sep 17 00:00:00 2001 From: Neil Macneale IV Date: Tue, 29 Jul 2025 19:11:46 +0000 Subject: [PATCH 5/5] Update MySqlClient project to target .NET 8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix test failure for "dotnet mysql client" by updating the MySqlClient project from net5.0 to net8.0 target framework. This aligns with the .NET 8.0 SDK installed in the Docker environment. The MySqlConnector test was already working, but MySqlClient was still targeting the old framework version. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .../dotnet/MySqlClient/dotnet.csproj | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/integration-tests/mysql-client-tests/dotnet/MySqlClient/dotnet.csproj b/integration-tests/mysql-client-tests/dotnet/MySqlClient/dotnet.csproj index 557c7a7c8a..f06a4d0402 100644 --- a/integration-tests/mysql-client-tests/dotnet/MySqlClient/dotnet.csproj +++ b/integration-tests/mysql-client-tests/dotnet/MySqlClient/dotnet.csproj @@ -1,12 +1,12 @@ - - - - Exe - net5.0 - - + + + + Exe + net8.0 + + - - - + + +