import 'mocha'
import * as chai from 'chai'
-import { cleanupTests, createSingleServer, doubleFollow, PeerTubeServer, setAccessTokensToServers, waitJobs } from '@shared/extra-utils'
+import { wait } from '@shared/core-utils'
import { HttpStatusCode, VideoCreateResult, VideoPrivacy } from '@shared/models'
+import { cleanupTests, createSingleServer, doubleFollow, PeerTubeServer, setAccessTokensToServers, waitJobs } from '@shared/server-commands'
const expect = chai.expect
describe('Privacy update', function () {
it('Should update the private and internal videos to public on server 1', async function () {
- this.timeout(10000)
+ this.timeout(100000)
now = Date.now()
await servers[0].videos.update({ id: internalVideoId, attributes })
}
+ await wait(10000)
await waitJobs(servers)
})