mirror of https://github.com/zulip/zulip.git
Fixed typos in test-queue-worker-reload
This commit is contained in:
parent
ff8639f9db
commit
110398bf36
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue