Skip to content

Commit

Permalink
set application for failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-knozderko committed Apr 19, 2024
1 parent 678554c commit 5d2f1cb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Snowflake.Data.Tests/IntegrationTests/SFDbCommandIT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -621,14 +621,15 @@ public void DummyTest()
[Test, NonParallelizable]
public void TestUseV1ResultParser()
{
var connectionString = ConnectionString + "application=v1resultParser";
var chunkParserVersion = SFConfiguration.Instance().ChunkParserVersion;
int chunkDownloaderVersion = SFConfiguration.Instance().ChunkDownloaderVersion;
SFConfiguration.Instance().ChunkParserVersion = 1;
SFConfiguration.Instance().ChunkDownloaderVersion = 2;

using (IDbConnection conn = new SnowflakeDbConnection())
{
conn.ConnectionString = ConnectionString;
conn.ConnectionString = connectionString;

conn.Open();

Expand All @@ -650,14 +651,15 @@ public void TestUseV1ResultParser()
[Test, NonParallelizable]
public void TestUseV2ChunkDownloader()
{
var connectionString = ConnectionString + "application=v2chunkDownloader";
var chunkParserVersion = SFConfiguration.Instance().ChunkParserVersion;
int chunkDownloaderVersion = SFConfiguration.Instance().ChunkDownloaderVersion;
SFConfiguration.Instance().ChunkParserVersion = 2;
SFConfiguration.Instance().ChunkDownloaderVersion = 2;

using (IDbConnection conn = new SnowflakeDbConnection())
{
conn.ConnectionString = ConnectionString;
conn.ConnectionString = connectionString;

conn.Open();

Expand Down

0 comments on commit 5d2f1cb

Please sign in to comment.