Merge pull request #805 from balena-io/increase-test-timeout

tests: Increase timeout for database tests
This commit is contained in:
CameronDiver 2018-11-06 17:19:50 +01:00 committed by GitHub
commit a1386ccb72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 1 additions and 4 deletions

View File

@ -192,7 +192,6 @@ testTargetInvalid = {
describe 'deviceState', -> describe 'deviceState', ->
before -> before ->
@timeout(5000)
prepare() prepare()
@db = new DB() @db = new DB()
@config = new Config({ @db }) @config = new Config({ @db })

View File

@ -13,7 +13,6 @@ DeviceState = require('../src/device-state')
APIBinder = require('../src/api-binder') APIBinder = require('../src/api-binder')
initModels = (filename) -> initModels = (filename) ->
@timeout(5000)
prepare() prepare()
@db = new DB() @db = new DB()
@config = new Config({ @db, configPath: filename }) @config = new Config({ @db, configPath: filename })

View File

@ -18,7 +18,6 @@ childProcess = require 'child_process'
describe 'DeviceConfig', -> describe 'DeviceConfig', ->
before -> before ->
@timeout(5000)
prepare() prepare()
@fakeDB = {} @fakeDB = {}
@fakeConfig = { @fakeConfig = {

View File

@ -117,7 +117,6 @@ dependentDBFormat = {
describe 'ApplicationManager', -> describe 'ApplicationManager', ->
before -> before ->
@timeout(5000)
prepare() prepare()
@db = new DB() @db = new DB()
@config = new Config({ @db }) @config = new Config({ @db })

View File

@ -1,2 +1,3 @@
--exit --exit
--timeout 30000
build/test/*.js build/test/*.js