Skip to content

Commit 90f0dfb

Browse files
CLDSRV-720: Fix ignore location constraints CRR
1 parent b6ef80d commit 90f0dfb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/functional/aws-node-sdk/test/bucket/getLocation.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ describeSkipAWS('GET bucket location ', () => {
3030
// if region location-dmf-v1 should return InvalidLocationConstraint error
3131
return;
3232
}
33+
if (locationConstraints[location].isCRR) {
34+
// CRR location cannot be used as bucket location
35+
return;
36+
}
3337
describe(`with location: ${location}`, () => {
3438
before(() => s3.createBucket(
3539
{

0 commit comments

Comments
 (0)