Skip to content

Commit 37232f3

Browse files
test new backbeat for aws sdk v3 migration
1 parent bfb4f32 commit 37232f3

File tree

9 files changed

+19
-19
lines changed

9 files changed

+19
-19
lines changed

solution/deps.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
# to sort keys, use the following command
33
# yq eval 'sortKeys(.)' -i deps.yaml
44
backbeat:
5-
sourceRegistry: ghcr.io/scality
5+
sourceRegistry: ghcr.io/scality/playground/sylvainsenechal
66
dashboard: backbeat/backbeat-dashboards
77
image: backbeat
88
policy: backbeat/backbeat-policies
9-
tag: 9.1.0
9+
tag: 9.1.114
1010
envsubst: BACKBEAT_TAG
1111
busybox:
1212
image: busybox
@@ -16,7 +16,7 @@ cloudserver:
1616
sourceRegistry: ghcr.io/scality
1717
dashboard: cloudserver/cloudserver-dashboards
1818
image: cloudserver
19-
tag: 9.1.4
19+
tag: 9.2.5
2020
envsubst: CLOUDSERVER_TAG
2121
drctl:
2222
sourceRegistry: ghcr.io/scality

tests/zenko_tests/node_tests/backbeat/tests/api/metrics.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const { makeGETRequest, getResponseBody } = require('../../../utils/request');
1010
const scalityUtils = new ReplicationUtility(scalityS3Client, sharedBlobSvc);
1111
const awsUtils = new ReplicationUtility(awsS3Client);
1212

13-
const srcBucket = `source-bucket-${Date.now()}`;
13+
const srcBucket = `source-bucket-metrics-${Date.now()}`;
1414
const awsDestBucket = process.env.AWS_CRR_BUCKET_NAME;
1515
const destContainer = process.env.AZURE_CRR_BUCKET_NAME;
1616
const destAWSLocation = process.env.AWS_BACKEND_DESTINATION_LOCATION;
@@ -19,7 +19,7 @@ const hex = crypto.createHash('md5')
1919
.update(Math.random().toString())
2020
.digest('hex');
2121
const keyPrefix = `${srcBucket}/${hex}`;
22-
const key = `${keyPrefix}/object-to-replicate-${Date.now()}`;
22+
const key = `${keyPrefix}/object-to-replicate-metrics-${Date.now()}`;
2323
const destKeyPrefix = `${srcBucket}/${keyPrefix}`;
2424

2525
const REPLICATION_TIMEOUT = 300000;

tests/zenko_tests/node_tests/backbeat/tests/api/objectMonitor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ const { makeGETRequest, getResponseBody } = require('../../../utils/request');
88

99
const scalityUtils = new ReplicationUtility(scalityS3Client);
1010
const awsUtils = new ReplicationUtility(awsS3Client);
11-
const srcBucket = `source-bucket-${Date.now()}`;
11+
const srcBucket = `source-bucket-objectmonitor-${Date.now()}`;
1212
const destBucket = process.env.AWS_CRR_BUCKET_NAME;
1313
const destLocation = process.env.AWS_BACKEND_DESTINATION_LOCATION;
1414
const hex = crypto.createHash('md5')
1515
.update(Math.random().toString())
1616
.digest('hex');
1717
const keyPrefix = `${srcBucket}/${hex}`;
18-
const key = `${keyPrefix}/object-to-replicate-${Date.now()}`;
18+
const key = `${keyPrefix}/object-to-replicate-objectmonitor-${Date.now()}`;
1919
const REPLICATION_TIMEOUT = 600000;
2020

2121
function getAndCheckResponse(path, expectedBody, cb) {

tests/zenko_tests/node_tests/backbeat/tests/crr-pause-resume/awsBackend.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ const BackbeatAPIUtility = require('../../BackbeatAPIUtility');
99
const scalityUtils = new ReplicationUtility(scalityS3Client);
1010
const awsUtils = new ReplicationUtility(awsS3Client);
1111
const backbeatAPIUtils = new BackbeatAPIUtility();
12-
const srcBucket = `source-bucket-${Date.now()}`;
12+
const srcBucket = `source-bucket-awsbackend-${Date.now()}`;
1313
const destBucket = process.env.AWS_CRR_BUCKET_NAME;
1414
const destLocation = process.env.AWS_BACKEND_DESTINATION_LOCATION;
1515
const hex = crypto.createHash('md5')
1616
.update(Math.random().toString())
1717
.digest('hex');
1818
const keyPrefix = `${srcBucket}/${hex}`;
19-
const key = `${keyPrefix}/object-to-replicate-${Date.now()}`;
19+
const key = `${keyPrefix}/object-to-replicate-awsbackend-${Date.now()}`;
2020
const key2 = `${key}-2`;
2121
// eslint-disable-next-line
2222
const REPLICATION_TIMEOUT = 300000;

tests/zenko_tests/node_tests/backbeat/tests/crr/awsBackend.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ const ReplicationUtility = require('../../ReplicationUtility');
66

77
const scalityUtils = new ReplicationUtility(scalityS3Client);
88
const awsUtils = new ReplicationUtility(awsS3Client);
9-
const srcBucket = `source-bucket-${Date.now()}`;
9+
const srcBucket = `source-bucket-awsbackend-${Date.now()}`;
1010
const destBucket = process.env.AWS_CRR_BUCKET_NAME;
1111
const destLocation = process.env.AWS_BACKEND_DESTINATION_LOCATION;
1212
const hex = crypto.createHash('md5')
1313
.update(Math.random().toString())
1414
.digest('hex');
1515
const keyPrefix = `${srcBucket}/${hex}`;
16-
const key = `${keyPrefix}/object-to-replicate-${Date.now()}`;
16+
const key = `${keyPrefix}/object-to-replicate-awsbackend-${Date.now()}`;
1717
const copyKey = `${key}-copy`;
1818
const copySource = `/${srcBucket}/${key}`;
1919
// eslint-disable-next-line

tests/zenko_tests/node_tests/backbeat/tests/crr/azureBackend.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ const ReplicationUtility = require('../../ReplicationUtility');
99
const utils = new ReplicationUtility(scalityS3Client, sharedBlobSvc);
1010
const destContainer = process.env.AZURE_CRR_BUCKET_NAME;
1111
const destLocation = process.env.AZURE_BACKEND_DESTINATION_LOCATION;
12-
const srcBucket = `source-bucket-${Date.now()}`;
12+
const srcBucket = `source-bucket-azurebackend-${Date.now()}`;
1313
const hex = crypto.createHash('md5')
1414
.update(Math.random().toString())
1515
.digest('hex');
1616
const keyPrefix = `${srcBucket}/${hex}`;
17-
const key = `${keyPrefix}/object-to-replicate-${Date.now()}`;
17+
const key = `${keyPrefix}/object-to-replicate-azurebackend-${Date.now()}`;
1818
const copyKey = `${key}-copy`;
1919
const copySource = `/${srcBucket}/${key}`;
2020
// Blob name with 1024 character Azure blob name limit.

tests/zenko_tests/node_tests/backbeat/tests/crr/oneToMany.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const ReplicationUtility = require('../../ReplicationUtility');
88

99
const utils = new ReplicationUtility(scalityS3Client, sharedBlobSvc, gcpStorage);
1010
const awsUtils = new ReplicationUtility(awsS3Client);
11-
const srcBucket = `source-bucket-${Date.now()}`;
11+
const srcBucket = `source-bucket-onetomany-${Date.now()}`;
1212
const awsDestBucket = process.env.AWS_CRR_BUCKET_NAME;
1313
const destContainer = process.env.AZURE_CRR_BUCKET_NAME;
1414
const gcpDestBucket = process.env.GCP_CRR_BUCKET_NAME;
@@ -20,7 +20,7 @@ const hex = crypto.createHash('md5')
2020
.digest('hex');
2121
const keyPrefix = `${srcBucket}/${hex}`;
2222
const destKeyPrefix = `${srcBucket}/${keyPrefix}`;
23-
const key = `${keyPrefix}/object-to-replicate-${Date.now()}`;
23+
const key = `${keyPrefix}/object-to-replicate-onetomany-${Date.now()}`;
2424
const copyKey = `${key}-copy`;
2525
const copySource = `/${srcBucket}/${key}`;
2626
const REPLICATION_TIMEOUT = 300000;

tests/zenko_tests/node_tests/backbeat/tests/retry/pendingMetrics.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const { makeGETRequest, getResponseBody, makeUpdateRequest } = require('../../..
1212
const scalityUtils = new ReplicationUtility(scalityS3Client, sharedBlobSvc);
1313
const awsUtils = new ReplicationUtility(awsS3Client);
1414

15-
const srcBucket = `source-bucket-${Date.now()}`;
15+
const srcBucket = `source-bucket-pendingmetrics-${Date.now()}`;
1616
const awsDestBucket = process.env.AWS_CRR_BUCKET_NAME;
1717
const destAWSLocation = process.env.AWS_BACKEND_DESTINATION_LOCATION;
1818
const destFailBucket = process.env.AWS_S3_FAIL_BACKBEAT_BUCKET_NAME;
@@ -21,7 +21,7 @@ const hex = crypto.createHash('md5')
2121
.update(Math.random().toString())
2222
.digest('hex');
2323
const keyPrefix = `${srcBucket}/${hex}`;
24-
const key = `${keyPrefix}/object-to-replicate-${Date.now()}`;
24+
const key = `${keyPrefix}/object-to-replicate-pendingmetrics-${Date.now()}`;
2525
const destKeyPrefix = `${srcBucket}/${keyPrefix}`;
2626

2727
const REPLICATION_TIMEOUT = 300000;

tests/zenko_tests/node_tests/backbeat/tests/retry/retry.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ const { makeGETRequest, makeUpdateRequest, getResponseBody } = require('../../..
1010

1111
const scalityUtils = new ReplicationUtility(scalityS3Client);
1212
const awsUtils = new ReplicationUtility(awsS3Client);
13-
const srcBucket = `source-bucket-${Date.now()}`;
13+
const srcBucket = `source-bucket-retry-${Date.now()}`;
1414
const destFailBucket = process.env.AWS_S3_FAIL_BACKBEAT_BUCKET_NAME;
1515
const destFailLocation = process.env.AWS_S3_FAIL_BACKEND_DESTINATION_LOCATION;
1616

1717
const hex = crypto.createHash('md5')
1818
.update(Math.random().toString())
1919
.digest('hex');
2020
const keyPrefix = `${srcBucket}/${hex}`;
21-
const key = `object-to-replicate-${Date.now()}`;
21+
const key = `object-to-replicate-retry-${Date.now()}`;
2222
const REPLICATION_TIMEOUT = 300000;
2323

2424
function checkMetrics(

0 commit comments

Comments
 (0)