diff --git a/test/unit/file_transfer_agent/azure_test.js b/test/unit/file_transfer_agent/azure_test.js index 7652e0fab..b5e04d7bd 100644 --- a/test/unit/file_transfer_agent/azure_test.js +++ b/test/unit/file_transfer_agent/azure_test.js @@ -110,11 +110,11 @@ describe('Azure client', function () { }); it('extract bucket name and path', async function () { - verifyNameAndPath('sfc-dev1-regression/test_sub_dir/', 'sfc-dev1-regression', 'test_sub_dir/'); - verifyNameAndPath('sfc-dev1-regression/stakeda/test_stg/test_sub_dir/', 'sfc-dev1-regression', 'stakeda/test_stg/test_sub_dir/'); - verifyNameAndPath('sfc-dev1-regression/', 'sfc-dev1-regression', ''); - verifyNameAndPath('sfc-dev1-regression//', 'sfc-dev1-regression', '/'); - verifyNameAndPath('sfc-dev1-regression///', 'sfc-dev1-regression', '//'); + verifyNameAndPath('sfc-eng-regression/test_sub_dir/', 'sfc-eng-regression', 'test_sub_dir/'); + verifyNameAndPath('sfc-eng-regression/stakeda/test_stg/test_sub_dir/', 'sfc-eng-regression', 'stakeda/test_stg/test_sub_dir/'); + verifyNameAndPath('sfc-eng-regression/', 'sfc-eng-regression', ''); + verifyNameAndPath('sfc-eng-regression//', 'sfc-eng-regression', '/'); + verifyNameAndPath('sfc-eng-regression///', 'sfc-eng-regression', '//'); }); it('get file header - success', async function () { diff --git a/test/unit/file_transfer_agent/gcs_test.js b/test/unit/file_transfer_agent/gcs_test.js index 97bd157a9..860e87eac 100644 --- a/test/unit/file_transfer_agent/gcs_test.js +++ b/test/unit/file_transfer_agent/gcs_test.js @@ -74,24 +74,24 @@ describe('GCS client', function () { var GCS = new SnowflakeGCSUtil(); - var result = GCS.extractBucketNameAndPath('sfc-dev1-regression/test_sub_dir/'); - assert.strictEqual(result.bucketName, 'sfc-dev1-regression'); + var result = GCS.extractBucketNameAndPath('sfc-eng-regression/test_sub_dir/'); + assert.strictEqual(result.bucketName, 'sfc-eng-regression'); assert.strictEqual(result.path, 'test_sub_dir/'); - var result = GCS.extractBucketNameAndPath('sfc-dev1-regression/stakeda/test_stg/test_sub_dir/'); - assert.strictEqual(result.bucketName, 'sfc-dev1-regression'); + var result = GCS.extractBucketNameAndPath('sfc-eng-regression/stakeda/test_stg/test_sub_dir/'); + assert.strictEqual(result.bucketName, 'sfc-eng-regression'); assert.strictEqual(result.path, 'stakeda/test_stg/test_sub_dir/'); - var result = GCS.extractBucketNameAndPath('sfc-dev1-regression/'); - assert.strictEqual(result.bucketName, 'sfc-dev1-regression'); + var result = GCS.extractBucketNameAndPath('sfc-eng-regression/'); + assert.strictEqual(result.bucketName, 'sfc-eng-regression'); assert.strictEqual(result.path, ''); - var result = GCS.extractBucketNameAndPath('sfc-dev1-regression//'); - assert.strictEqual(result.bucketName, 'sfc-dev1-regression'); + var result = GCS.extractBucketNameAndPath('sfc-eng-regression//'); + assert.strictEqual(result.bucketName, 'sfc-eng-regression'); assert.strictEqual(result.path, '/'); - var result = GCS.extractBucketNameAndPath('sfc-dev1-regression///'); - assert.strictEqual(result.bucketName, 'sfc-dev1-regression'); + var result = GCS.extractBucketNameAndPath('sfc-eng-regression///'); + assert.strictEqual(result.bucketName, 'sfc-eng-regression'); assert.strictEqual(result.path, '//'); }); diff --git a/test/unit/file_transfer_agent/s3_test.js b/test/unit/file_transfer_agent/s3_test.js index fa58cfff7..2031f85fd 100644 --- a/test/unit/file_transfer_agent/s3_test.js +++ b/test/unit/file_transfer_agent/s3_test.js @@ -89,24 +89,24 @@ describe('S3 client', function () it('extract bucket name and path', async function () { - var result = AWS.extractBucketNameAndPath('sfc-dev1-regression/test_sub_dir/'); - assert.strictEqual(result.bucketName, 'sfc-dev1-regression'); + var result = AWS.extractBucketNameAndPath('sfc-eng-regression/test_sub_dir/'); + assert.strictEqual(result.bucketName, 'sfc-eng-regression'); assert.strictEqual(result.s3path, 'test_sub_dir/'); - var result = AWS.extractBucketNameAndPath('sfc-dev1-regression/stakeda/test_stg/test_sub_dir/'); - assert.strictEqual(result.bucketName, 'sfc-dev1-regression'); + var result = AWS.extractBucketNameAndPath('sfc-eng-regression/stakeda/test_stg/test_sub_dir/'); + assert.strictEqual(result.bucketName, 'sfc-eng-regression'); assert.strictEqual(result.s3path, 'stakeda/test_stg/test_sub_dir/'); - var result = AWS.extractBucketNameAndPath('sfc-dev1-regression/'); - assert.strictEqual(result.bucketName, 'sfc-dev1-regression'); + var result = AWS.extractBucketNameAndPath('sfc-eng-regression/'); + assert.strictEqual(result.bucketName, 'sfc-eng-regression'); assert.strictEqual(result.s3path, ''); - var result = AWS.extractBucketNameAndPath('sfc-dev1-regression//'); - assert.strictEqual(result.bucketName, 'sfc-dev1-regression'); + var result = AWS.extractBucketNameAndPath('sfc-eng-regression//'); + assert.strictEqual(result.bucketName, 'sfc-eng-regression'); assert.strictEqual(result.s3path, '/'); - var result = AWS.extractBucketNameAndPath('sfc-dev1-regression///'); - assert.strictEqual(result.bucketName, 'sfc-dev1-regression'); + var result = AWS.extractBucketNameAndPath('sfc-eng-regression///'); + assert.strictEqual(result.bucketName, 'sfc-eng-regression'); assert.strictEqual(result.s3path, '//'); });