Fix tests
This commit is contained in:
parent
c129e2a167
commit
84c07f8ac1
|
@ -60,9 +60,10 @@ function runServer (number, callback) {
|
||||||
|
|
||||||
// These actions are async so we need to be sure that they have both been done
|
// These actions are async so we need to be sure that they have both been done
|
||||||
const serverRunString = {
|
const serverRunString = {
|
||||||
'Database is ready': false,
|
|
||||||
'Server listening on port': false
|
'Server listening on port': false
|
||||||
}
|
}
|
||||||
|
const key = 'Database peertube_test' + number + ' is ready'
|
||||||
|
serverRunString[key] = false
|
||||||
|
|
||||||
const regexps = {
|
const regexps = {
|
||||||
client_id: 'Client id: (.+)',
|
client_id: 'Client id: (.+)',
|
||||||
|
|
Loading…
Reference in New Issue