-async function waitUntilLog (server: ServerInfo, str: string, count = 1) {
- const logfile = join(root(), 'test' + server.serverNumber, 'logs/peertube.log')
+async function waitUntilLog (server: ServerInfo, str: string, count = 1, strictCount = true) {
+ const logfile = join(root(), 'test' + server.internalServerNumber, 'logs/peertube.log')