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