From ae68a340db5691828669e0e0703020e08610721e Mon Sep 17 00:00:00 2001 From: Adam Kolodziejczyk Date: Thu, 29 Feb 2024 12:03:52 +0100 Subject: [PATCH 1/2] move regression tests parameters to parameters-local --- .gitignore | 1 + Snowflake.Data.Tests/{parameters.json => parameters-local.json} | 0 ci/container/test_component.sh | 1 + 3 files changed, 2 insertions(+) rename Snowflake.Data.Tests/{parameters.json => parameters-local.json} (100%) diff --git a/.gitignore b/.gitignore index 9dd37878d..325ad49d6 100644 --- a/.gitignore +++ b/.gitignore @@ -295,6 +295,7 @@ __pycache__/ *.xsd.cs # Unencrypted file +Snowflake.Data.Tests/parameters.json *.xml # WhiteSource diff --git a/Snowflake.Data.Tests/parameters.json b/Snowflake.Data.Tests/parameters-local.json similarity index 100% rename from Snowflake.Data.Tests/parameters.json rename to Snowflake.Data.Tests/parameters-local.json diff --git a/ci/container/test_component.sh b/ci/container/test_component.sh index d43c0aa43..7691b3a1f 100755 --- a/ci/container/test_component.sh +++ b/ci/container/test_component.sh @@ -6,5 +6,6 @@ export SOURCE_ROOT=${SOURCE_ROOT:-/mnt/host} export WORKSPACE=${WORKSPACE:-/mnt/workspace} cd $SOURCE_ROOT +cp Snowflake.Data.Tests/parameters-local.json Snowflake.Data.Tests/parameters.json # todo unignore MaxLobSizeIT after SNOW-1058345 is fixed dotnet test -f net6.0 -l "console;verbosity=normal" --logger:"junit;LogFilePath=$WORKSPACE/junit-dotnet.xml" --filter "FullyQualifiedName!=Snowflake.Data.Tests.IntegrationTests.MaxLobSizeIT" From 8105193da52331de7a134d36beca63888af29a5c Mon Sep 17 00:00:00 2001 From: Adam Kolodziejczyk Date: Thu, 29 Feb 2024 12:50:16 +0100 Subject: [PATCH 2/2] copy parameters in build component --- ci/container/build_component.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/container/build_component.sh b/ci/container/build_component.sh index dd1f2c353..585791eca 100755 --- a/ci/container/build_component.sh +++ b/ci/container/build_component.sh @@ -7,6 +7,7 @@ THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" SOURCE_ROOT=${SOURCE_ROOT:-/mnt/host} cd $SOURCE_ROOT +cp Snowflake.Data.Tests/parameters-local.json Snowflake.Data.Tests/parameters.json echo "[INFO] Running dotnet restore" dotnet restore echo "[INFO] Building"