30000 timeout
This commit is contained in:
parent
d24e792ddc
commit
452046fa90
2 changed files with 4 additions and 3 deletions
|
@ -27,7 +27,7 @@ spawn(
|
|||
`${collectorScript}`,
|
||||
'--no-warnings',
|
||||
'--timeout',
|
||||
'5000',
|
||||
'15000',
|
||||
],
|
||||
{ stdio: 'inherit' }
|
||||
).on('exit', function (code) {
|
||||
|
|
|
@ -4,6 +4,7 @@ import chai from 'chai'
|
|||
import { timingPlugin } from '@freesewing/plugin-timing'
|
||||
|
||||
const expect = chai.expect
|
||||
const ciTimeout = 30000
|
||||
|
||||
/*
|
||||
* This runs unit tests for pattern drafting
|
||||
|
@ -40,7 +41,7 @@ export const testPatternDrafting = (Pattern, log = false) => {
|
|||
*/
|
||||
if (family !== 'utilities') {
|
||||
describe('Draft for humans:', function () {
|
||||
this.timeout(20000)
|
||||
this.timeout(ciTimeout)
|
||||
for (const type of ['cisFemale', 'cisMale']) {
|
||||
describe(type, () => {
|
||||
for (const size in adult[type]) {
|
||||
|
@ -63,7 +64,7 @@ export const testPatternDrafting = (Pattern, log = false) => {
|
|||
const fams = { doll, giant }
|
||||
for (const family of ['doll', 'giant']) {
|
||||
describe(`Draft for ${family}:`, function () {
|
||||
this.timeout(20000)
|
||||
this.timeout(ciTimeout)
|
||||
for (const type of ['cisFemale', 'cisMale']) {
|
||||
describe(type, () => {
|
||||
for (const size in fams[family][type]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue