Fix tests
This commit is contained in:
parent
c17a55fbca
commit
c106db1413
|
@ -71,7 +71,7 @@ async function makeFollowRequest (to: { url: string }, by: { url: string, privat
|
|||
|
||||
describe('Test ActivityPub security', function () {
|
||||
let servers: PeerTubeServer[]
|
||||
let sqlCommands: SQLCommand[]
|
||||
let sqlCommands: SQLCommand[] = []
|
||||
|
||||
let url: string
|
||||
|
||||
|
|
|
@ -144,7 +144,7 @@ function runTestSuite (options: {
|
|||
let baseMockUrl: string
|
||||
|
||||
let servers: PeerTubeServer[]
|
||||
let sqlCommands: SQLCommand[]
|
||||
let sqlCommands: SQLCommand[] = []
|
||||
|
||||
let keptUrls: string[] = []
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ import {
|
|||
|
||||
describe('Test handle downs', function () {
|
||||
let servers: PeerTubeServer[] = []
|
||||
let sqlCommands: SQLCommand[]
|
||||
let sqlCommands: SQLCommand[] = []
|
||||
|
||||
let threadIdServer1: number
|
||||
let threadIdServer2: number
|
||||
|
|
|
@ -23,7 +23,7 @@ describe('Test channel synchronizations', function () {
|
|||
|
||||
describe('Sync using ' + mode, function () {
|
||||
let servers: PeerTubeServer[]
|
||||
let sqlCommands: SQLCommand[]
|
||||
let sqlCommands: SQLCommand[] = []
|
||||
|
||||
let startTestDate: Date
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ async function findChannel (server: PeerTubeServer, channelId: number) {
|
|||
|
||||
describe('Test video channels', function () {
|
||||
let servers: PeerTubeServer[]
|
||||
let sqlCommands: SQLCommand[]
|
||||
let sqlCommands: SQLCommand[] = []
|
||||
|
||||
let userInfo: User
|
||||
let secondVideoChannelId: number
|
||||
|
|
|
@ -15,7 +15,7 @@ import {
|
|||
|
||||
describe('Test video views cleaner', function () {
|
||||
let servers: PeerTubeServer[]
|
||||
let sqlCommands: SQLCommand[]
|
||||
let sqlCommands: SQLCommand[] = []
|
||||
|
||||
let videoIdServer1: string
|
||||
let videoIdServer2: string
|
||||
|
|
|
@ -33,7 +33,7 @@ export class StreamingPlaylistsCommand extends AbstractCommand {
|
|||
} catch (err) {
|
||||
if (!withRetry || currentRetry > 5) throw err
|
||||
|
||||
await wait(100)
|
||||
await wait(250)
|
||||
|
||||
return this.get({
|
||||
...options,
|
||||
|
@ -68,7 +68,7 @@ export class StreamingPlaylistsCommand extends AbstractCommand {
|
|||
} catch (err) {
|
||||
if (!withRetry || currentRetry > 5) throw err
|
||||
|
||||
await wait(100)
|
||||
await wait(250)
|
||||
|
||||
return this.getFragmentedSegment({
|
||||
...options,
|
||||
|
@ -101,7 +101,7 @@ export class StreamingPlaylistsCommand extends AbstractCommand {
|
|||
} catch (err) {
|
||||
if (!withRetry || currentRetry > 5) throw err
|
||||
|
||||
await wait(100)
|
||||
await wait(250)
|
||||
|
||||
return this.getSegmentSha256({
|
||||
...options,
|
||||
|
|
Loading…
Reference in New Issue