Skip to content

Commit 941108b

Browse files
committed
Merge branch 'feature/CLDSRV-858/improve-bucket-name-gcp' into q/9.3
2 parents 9684045 + 79289de commit 941108b

File tree

16 files changed

+21
-21
lines changed

16 files changed

+21
-21
lines changed

tests/functional/raw-node/test/GCP/bucket/get.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const { getRealAwsConfig } =
1616
const { listingHardLimit } = require('../../../../../../constants');
1717

1818
const credentialOne = 'gcpbackend';
19-
const bucketName = `somebucket-${genUniqID()}`;
19+
const bucketName = `cldsrvci-get-${genUniqID()}`;
2020
const smallSize = 20;
2121
const bigSize = listingHardLimit + 1;
2222
const config = getRealAwsConfig(credentialOne);

tests/functional/raw-node/test/GCP/bucket/getVersioning.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe('GCP: GET Bucket Versioning', () => {
2020
const gcpClient = new GCP(config);
2121

2222
beforeEach(async function beforeFn() {
23-
this.currentTest.bucketName = `somebucket-${genUniqID()}`;
23+
this.currentTest.bucketName = `cldsrvci-getversioning-${genUniqID()}`;
2424
await gcpRetry(
2525
gcpClient,
2626
new CreateBucketCommand({

tests/functional/raw-node/test/GCP/bucket/head.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ describe('GCP: HEAD Bucket', () => {
1717

1818
describe('without existing bucket', () => {
1919
beforeEach(async function beforeFn() {
20-
this.currentTest.bucketName = `somebucket-${genUniqID()}`;
20+
this.currentTest.bucketName = `cldsrvci-head-${genUniqID()}`;
2121
});
2222

2323
it('should return 404', async function testFn() {
@@ -37,7 +37,7 @@ describe('GCP: HEAD Bucket', () => {
3737

3838
describe('with existing bucket', () => {
3939
beforeEach(async function beforeFn() {
40-
this.currentTest.bucketName = `somebucket-${genUniqID()}`;
40+
this.currentTest.bucketName = `cldsrvci-head-${genUniqID()}`;
4141
process.stdout
4242
.write(`Creating test bucket ${this.currentTest.bucketName}\n`);
4343
await gcpRetry(

tests/functional/raw-node/test/GCP/bucket/putVersioning.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const { getRealAwsConfig } =
1414
const credentialOne = 'gcpbackend';
1515
const verEnabledStatus = 'Enabled';
1616
const verDisabledStatus = 'Suspended';
17-
const bucketName = `somebucket-${genUniqID()}`;
17+
const bucketName = `cldsrvci-putversioning-${genUniqID()}`;
1818

1919
describe('GCP: PUT Bucket Versioning', () => {
2020
const config = getRealAwsConfig(credentialOne);

tests/functional/raw-node/test/GCP/object/completeMpu.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ const {
2020
const credentialOne = 'gcpbackend';
2121
const bucketNames = {
2222
main: {
23-
Name: `somebucket-${genUniqID()}`,
23+
Name: `cldsrvci-completempu-${genUniqID()}`,
2424
Type: 'MULTI_REGIONAL',
2525
},
2626
mpu: {
27-
Name: `mpubucket-${genUniqID()}`,
27+
Name: `cldsrvci-mpu-completempu-${genUniqID()}`,
2828
Type: 'MULTI_REGIONAL',
2929
},
3030
};

tests/functional/raw-node/test/GCP/object/copy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const {
1212
} = require('@aws-sdk/client-s3');
1313

1414
const credentialOne = 'gcpbackend';
15-
const bucketName = `somebucket-${genUniqID()}`;
15+
const bucketName = `cldsrvci-copy-${genUniqID()}`;
1616

1717
describe('GCP: COPY Object', function testSuite() {
1818
this.timeout(180000);

tests/functional/raw-node/test/GCP/object/delete.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const {
1313
} = require('@aws-sdk/client-s3');
1414

1515
const credentialOne = 'gcpbackend';
16-
const bucketName = `somebucket-${genUniqID()}`;
16+
const bucketName = `cldsrvci-deleteobj-${genUniqID()}`;
1717
const objectKey = `somekey-${genUniqID()}`;
1818
const badObjectKey = `nonexistingkey-${genUniqID()}`;
1919

tests/functional/raw-node/test/GCP/object/deleteMpu.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ const {
1515
const credentialOne = 'gcpbackend';
1616
const bucketNames = {
1717
main: {
18-
Name: `somebucket-${genUniqID()}`,
18+
Name: `cldsrvci-deletempu-${genUniqID()}`,
1919
},
2020
mpu: {
21-
Name: `mpubucket-${genUniqID()}`,
21+
Name: `cldsrvci-mpu-deletempu-${genUniqID()}`,
2222
},
2323
};
2424
const numParts = 10;

tests/functional/raw-node/test/GCP/object/deleteTagging.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const {
1414
} = require('@aws-sdk/client-s3');
1515

1616
const credentialOne = 'gcpbackend';
17-
const bucketName = `somebucket-${genUniqID()}`;
17+
const bucketName = `cldsrvci-deletetagging-${genUniqID()}`;
1818
let config;
1919
let gcpClient;
2020

tests/functional/raw-node/test/GCP/object/get.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const {
1313
} = require('@aws-sdk/client-s3');
1414

1515
const credentialOne = 'gcpbackend';
16-
const bucketName = `somebucket-${genUniqID()}`;
16+
const bucketName = `cldsrvci-get-${genUniqID()}`;
1717

1818
describe('GCP: GET Object', function testSuite() {
1919
this.timeout(30000);

0 commit comments

Comments
 (0)