mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-22 04:18:10 +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', ->
|
||||
before ->
|
||||
@timeout(5000)
|
||||
prepare()
|
||||
@db = new DB()
|
||||
@config = new Config({ @db })
|
||||
|
@ -13,7 +13,6 @@ DeviceState = require('../src/device-state')
|
||||
APIBinder = require('../src/api-binder')
|
||||
|
||||
initModels = (filename) ->
|
||||
@timeout(5000)
|
||||
prepare()
|
||||
@db = new DB()
|
||||
@config = new Config({ @db, configPath: filename })
|
||||
|
@ -18,7 +18,6 @@ childProcess = require 'child_process'
|
||||
|
||||
describe 'DeviceConfig', ->
|
||||
before ->
|
||||
@timeout(5000)
|
||||
prepare()
|
||||
@fakeDB = {}
|
||||
@fakeConfig = {
|
||||
|
@ -117,7 +117,6 @@ dependentDBFormat = {
|
||||
|
||||
describe 'ApplicationManager', ->
|
||||
before ->
|
||||
@timeout(5000)
|
||||
prepare()
|
||||
@db = new DB()
|
||||
@config = new Config({ @db })
|
||||
|
@ -1,2 +1,3 @@
|
||||
--exit
|
||||
--timeout 30000
|
||||
build/test/*.js
|
||||
|
Loading…
Reference in New Issue
Block a user