Skip to content

Commit 62c4026

Browse files
author
Kelly Selden
committed
reset timeouts now that cache hits
1 parent 8556ab5 commit 62c4026

5 files changed

Lines changed: 6 additions & 22 deletions

File tree

test/acceptance/ember-cli-update-test.js

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,6 @@ describe(function() {
160160
});
161161

162162
it('runs codemods', async function() {
163-
this.timeout(5 * 60 * 1000);
164-
165163
async function _merge(src, dest) {
166164
await fs.copy(
167165
path.resolve(__dirname, `../fixtures/codemod/codemods/ember-modules-codemod/${src}/my-app`),
@@ -275,8 +273,6 @@ describe(function() {
275273
});
276274

277275
it('can pick from multiple blueprints', async function() {
278-
this.timeout(15 * 60 * 1000);
279-
280276
let {
281277
location,
282278
version: to
@@ -397,8 +393,6 @@ describe(function() {
397393
});
398394

399395
it('can reset the default blueprint', async function() {
400-
this.timeout(5 * 60 * 1000);
401-
402396
let {
403397
status
404398
} = await (await merge({
@@ -424,8 +418,6 @@ describe(function() {
424418
});
425419

426420
it('can init the default blueprint', async function() {
427-
this.timeout(5 * 60 * 1000);
428-
429421
let {
430422
status
431423
} = await (await merge({
@@ -450,7 +442,7 @@ describe(function() {
450442
});
451443

452444
it('can install an addon with a default blueprint and a state file', async function() {
453-
this.timeout(3 * 60 * 1000);
445+
this.timeout(60 * 1000);
454446

455447
let {
456448
location
@@ -491,7 +483,7 @@ describe(function() {
491483
});
492484

493485
it('can update a legacy addon blueprint', async function() {
494-
this.timeout(15 * 60 * 1000);
486+
this.timeout(3 * 60 * 1000);
495487

496488
let {
497489
name,
@@ -534,7 +526,7 @@ describe(function() {
534526
// in existing npm addons
535527
// https://github.com/salsify/ember-cli-dependency-lint/blob/v1.0.3/lib/commands/dependency-lint.js#L5
536528
it('can update a npm addon blueprint', async function() {
537-
this.timeout(15 * 60 * 1000);
529+
this.timeout(3 * 60 * 1000);
538530

539531
let {
540532
name,
@@ -640,8 +632,6 @@ describe(function() {
640632
});
641633

642634
it('can update a legacy blueprint without a state file', async function() {
643-
this.timeout(3 * 60 * 1000);
644-
645635
let {
646636
location,
647637
version: from,

test/integration/index-test.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,6 @@ applicable codemods: ember-modules-codemod, ember-qunit-codemod, ember-test-help
314314
});
315315

316316
it('can create a personal diff instead of using an output repo - app', async function() {
317-
this.timeout(5 * 60 * 1000);
318-
319317
let {
320318
status
321319
} = await merge({
@@ -332,8 +330,6 @@ applicable codemods: ember-modules-codemod, ember-qunit-codemod, ember-test-help
332330
});
333331

334332
it('can create a personal diff instead of using an output repo - addon', async function() {
335-
this.timeout(5 * 60 * 1000);
336-
337333
let {
338334
status
339335
} = await merge({
@@ -350,8 +346,6 @@ applicable codemods: ember-modules-codemod, ember-qunit-codemod, ember-test-help
350346
});
351347

352348
describe('blueprints', function() {
353-
this.timeout(10 * 60 * 1000);
354-
355349
describe('--blueprint', function() {
356350
it('throws if missing --from', async function() {
357351
let promise = merge({

test/integration/init-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const { initBlueprint } = require('../helpers/blueprint');
1818
const loadSafeBlueprintFile = require('../../src/load-safe-blueprint-file');
1919

2020
describe(init, function() {
21-
this.timeout(5 * 60 * 1000);
21+
this.timeout(30 * 1000);
2222

2323
let cwd;
2424
let tmpPath;

test/integration/install-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const { initBlueprint } = require('../helpers/blueprint');
1818
const loadSafeBlueprintFile = require('../../src/load-safe-blueprint-file');
1919

2020
describe(install, function() {
21-
this.timeout(3 * 60 * 1000);
21+
this.timeout(60 * 1000);
2222

2323
let cwd;
2424
let tmpPath;

test/integration/overwrite-blueprint-files-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const sinon = require('sinon');
1313
const { ember } = require('../../src/ember-install-addon');
1414

1515
describe(overwriteBlueprintFiles, function() {
16-
this.timeout(3 * 60 * 1000);
16+
this.timeout(60 * 1000);
1717

1818
it('can install an addon with a default blueprint and no state file', async function() {
1919
let tmpPath = await buildTmp({

0 commit comments

Comments
 (0)