let bulkCommand: BulkCommand
before(async function () {
- this.timeout(30000)
+ this.timeout(120000)
servers = await createMultipleServers(2)
const { data } = await servers[1].comments.listThreads({ videoId: video.id })
const comment = data.find(c => c.text === 'comment by user 3')
- if (video.account.host === 'localhost:' + servers[0].port) {
+ if (video.account.host === servers[0].host) {
expect(comment).to.not.exist
} else {
expect(comment).to.exist
}
before(async function () {
- this.timeout(120000)
+ this.timeout(240000)
await servers[0].videos.upload({ attributes: { name: 'video 1 server 1' } })
await servers[0].videos.upload({ attributes: { name: 'video 2 server 1' } })
await bulkCommand.removeCommentsOf({
attributes: {
- accountName: 'user3@localhost:' + servers[1].port,
+ accountName: 'user3@' + servers[1].host,
scope: 'instance'
}
})