mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-22 12:28:16 +00:00
Merge pull request #805 from balena-io/increase-test-timeout
tests: Increase timeout for database tests
This commit is contained in:
commit
a1386ccb72
@ -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 })
|
||||||
|
@ -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 })
|
||||||
|
@ -18,7 +18,6 @@ childProcess = require 'child_process'
|
|||||||
|
|
||||||
describe 'DeviceConfig', ->
|
describe 'DeviceConfig', ->
|
||||||
before ->
|
before ->
|
||||||
@timeout(5000)
|
|
||||||
prepare()
|
prepare()
|
||||||
@fakeDB = {}
|
@fakeDB = {}
|
||||||
@fakeConfig = {
|
@fakeConfig = {
|
||||||
|
@ -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 })
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
--exit
|
--exit
|
||||||
|
--timeout 30000
|
||||||
build/test/*.js
|
build/test/*.js
|
||||||
|
Loading…
Reference in New Issue
Block a user