Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SNOW-1545648: Fix PUT command error if file path contains spaces and single quotes #1066

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Modify test
  • Loading branch information
sfc-gh-ext-simba-lf committed Dec 3, 2024
commit 8d1b658cef889c06ade5e73bd5f44a0ef99979a6
Original file line number Diff line number Diff line change
@@ -13,12 +13,13 @@ namespace Snowflake.Data.Tests
{

[TestFixture]
[NonParallelizable]
public class FileUploadDownloadLargeFilesIT : SFBaseTest
{
private const string FileName = "large_file_to_test_dotnet_driver.json";
private static readonly string s_uniqueId = TestDataGenarator.NextAlphaNumeric(6);
private static readonly string s_localFolderName = Path.Combine(Path.GetTempPath(), s_uniqueId);
private static readonly string s_localFolderWithSpaceName = Path.Combine(Path.GetTempPath(), "folder with space", s_uniqueId);
private static readonly string s_localFolderWithSpaceName = Path.Combine(Path.GetTempPath() + s_uniqueId, "folder with space");
private static readonly string s_remoteFolderName = $"files_to_test_put_get_{s_uniqueId}";
private static readonly string s_remoteFolderWithSpaceName = $"files_to_test_put_get_for_folder_with_space{s_uniqueId}";
private static readonly string s_downloadFolderName = Path.Combine(s_localFolderName, "download");
Loading