From 5ecb4fa644a0c78d97f1aac39bdcd8a83ffbbefa Mon Sep 17 00:00:00 2001 From: Adam Kolodziejczyk Date: Thu, 29 Feb 2024 14:01:47 +0100 Subject: [PATCH] SNOW-1175042 move regression tests parameters to parameters-local (#878) ### Description Please explain the changes you made here. ### Checklist - [ ] Code compiles correctly - [ ] Code is formatted according to [Coding Conventions](../CodingConventions.md) - [ ] Created tests which fail without the change (if possible) - [ ] All tests passing (`dotnet test`) - [ ] Extended the README / documentation, if necessary - [ ] Provide JIRA issue id (if possible) or GitHub issue id in PR name --- .gitignore | 1 + Snowflake.Data.Tests/{parameters.json => parameters-local.json} | 0 ci/container/build_component.sh | 1 + ci/container/test_component.sh | 1 + 4 files changed, 3 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/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" 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"