Increate test timeout

pull/5190/head
Chocobozzz 2022-08-09 11:24:08 +02:00
parent e13db048c7
commit c543e41492
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 3 additions and 1 deletions

View File

@ -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