Skip to content

Commit 2dd90ff

Browse files
CLDSRV-805: Increase GCP test timeout to 120s
Because default retries can go up to 63s total wait time
1 parent 47ffd1f commit 2dd90ff

11 files changed

Lines changed: 16 additions & 11 deletions

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ const credentialOne = 'gcpbackend';
1515
const verEnabledObj = 'Enabled';
1616
const verDisabledObj = 'Suspended';
1717

18-
describe('GCP: GET Bucket Versioning', () => {
18+
describe('GCP: GET Bucket Versioning', function testSuite() {
19+
this.timeout(120000);
1920
const config = getRealAwsConfig(credentialOne);
2021
const gcpClient = new GCP(config);
2122

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ const {
1111

1212
const credentialOne = 'gcpbackend';
1313

14-
describe('GCP: HEAD Bucket', () => {
14+
describe('GCP: HEAD Bucket', function testSuite() {
15+
this.timeout(120000);
1516
const config = getRealAwsConfig(credentialOne);
1617
const gcpClient = new GCP(config);
1718

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ const verEnabledStatus = 'Enabled';
1616
const verDisabledStatus = 'Suspended';
1717
const bucketName = genBucketName('putversioning');
1818

19-
describe('GCP: PUT Bucket Versioning', () => {
19+
describe('GCP: PUT Bucket Versioning', function testSuite() {
20+
this.timeout(120000);
2021
const config = getRealAwsConfig(credentialOne);
2122
const gcpClient = new GCP(config);
2223

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const objectKey = `somekey-${genUniqID()}`;
1818
const badObjectKey = `nonexistingkey-${genUniqID()}`;
1919

2020
describe('GCP: DELETE Object', function testSuite() {
21-
this.timeout(30000);
21+
this.timeout(120000);
2222
const config = getRealAwsConfig(credentialOne);
2323
const gcpClient = new GCP(config);
2424

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function gcpMpuSetupWrapper(params, callback) {
3636
}
3737

3838
describe('GCP: Abort MPU', function testSuite() {
39-
this.timeout(30000);
39+
this.timeout(120000);
4040
let config;
4141
let gcpClient;
4242

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function assertObjectMetaTag(params, callback) {
4545
}
4646

4747
describe('GCP: DELETE Object Tagging', function testSuite() {
48-
this.timeout(30000);
48+
this.timeout(120000);
4949

5050
before(async () => {
5151
config = getRealAwsConfig(credentialOne);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const credentialOne = 'gcpbackend';
1616
const bucketName = genBucketName('get');
1717

1818
describe('GCP: GET Object', function testSuite() {
19-
this.timeout(30000);
19+
this.timeout(120000);
2020
const config = getRealAwsConfig(credentialOne);
2121
const gcpClient = new GCP(config);
2222

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ const credentialOne = 'gcpbackend';
1616
const bucketName = genBucketName('gettagging');
1717
const tagSize = 10;
1818

19-
describe('GCP: GET Object Tagging', () => {
19+
describe('GCP: GET Object Tagging', function testSuite() {
20+
this.timeout(120000);
2021
let config;
2122
let gcpClient;
2223
let bucketCreated = false;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const credentialOne = 'gcpbackend';
1515
const bucketName = genBucketName('head');
1616

1717
describe('GCP: HEAD Object', function testSuite() {
18-
this.timeout(30000);
18+
this.timeout(120000);
1919
const config = getRealAwsConfig(credentialOne);
2020
const gcpClient = new GCP(config);
2121

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const credentialOne = 'gcpbackend';
1414
const bucketName = genBucketName('put');
1515

1616
describe('GCP: PUT Object', function testSuite() {
17-
this.timeout(30000);
17+
this.timeout(120000);
1818
const config = getRealAwsConfig(credentialOne);
1919
const gcpClient = new GCP(config);
2020

0 commit comments

Comments
 (0)