]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix tests
authorChocobozzz <florian.bigard@gmail.com>
Mon, 23 Jan 2017 22:00:27 +0000 (23:00 +0100)
committerChocobozzz <florian.bigard@gmail.com>
Mon, 23 Jan 2017 22:00:27 +0000 (23:00 +0100)
server/tests/utils/servers.js

index c07db4c40825bed6e4bf2b99081ad9cc16ee2095..afb08e6fc86fe56b013e78fbda982f20e703e535 100644 (file)
@@ -60,9 +60,10 @@ function runServer (number, callback) {
 
   // These actions are async so we need to be sure that they have both been done
   const serverRunString = {
-    'Database is ready': false,
     'Server listening on port': false
   }
+  const key = 'Database peertube_test' + number + ' is ready'
+  serverRunString[key] = false
 
   const regexps = {
     client_id: 'Client id: (.+)',