Fixed typos in test-queue-worker-reload

This commit is contained in:
JefftheBest1 2017-01-12 15:45:20 +11:00 committed by showell
parent ff8639f9db
commit 110398bf36
1 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ from six.moves import range
from typing import IO, Text
TOOLS_DIR = os.path.dirname(os.path.abspath(__file__))
succesful_worker_launches = [
successful_worker_launches = [
'launching queue worker thread error_reports',
'launching queue worker thread user_presence',
'launching queue worker thread digest_emails',
@ -36,7 +36,7 @@ def check_worker_launch(logfile):
def check(content):
# type: (str) -> bool
flag = True
for entry in succesful_worker_launches:
for entry in successful_worker_launches:
flag = flag and entry in content
return flag
@ -57,7 +57,7 @@ def check_worker_launch(logfile):
sys.stdout.write('\n')
if not failed:
print('Worker threads launched succesfully')
print('Worker threads launched successfully')
return log_output
else:
print('Error in server startup. Dumping logs')