mirror of https://github.com/Chocobozzz/PeerTube
Increate test timeout
parent
e13db048c7
commit
c543e41492
|
@ -353,7 +353,7 @@ describe('Test plugins', function () {
|
||||||
})
|
})
|
||||||
|
|
||||||
it('Should rebuild native modules on Node ABI change', async function () {
|
it('Should rebuild native modules on Node ABI change', async function () {
|
||||||
this.timeout(50000)
|
this.timeout(60000)
|
||||||
|
|
||||||
const removeNativeModule = async () => {
|
const removeNativeModule = async () => {
|
||||||
await remove(join(baseNativeModule, 'build'))
|
await remove(join(baseNativeModule, 'build'))
|
||||||
|
@ -377,6 +377,8 @@ describe('Test plugins', function () {
|
||||||
await server.kill()
|
await server.kill()
|
||||||
await server.run()
|
await server.run()
|
||||||
|
|
||||||
|
await wait(3000)
|
||||||
|
|
||||||
expect(await pathExists(join(baseNativeModule, 'build'))).to.be.true
|
expect(await pathExists(join(baseNativeModule, 'build'))).to.be.true
|
||||||
expect(await pathExists(join(baseNativeModule, 'prebuilds'))).to.be.true
|
expect(await pathExists(join(baseNativeModule, 'prebuilds'))).to.be.true
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue