mirror of https://github.com/zulip/zulip.git
Annotate test-queue-worker-reload.
This commit is contained in:
parent
a85f9a951a
commit
0c5f419be0
|
@ -11,6 +11,7 @@ import subprocess
|
|||
import re
|
||||
|
||||
from six.moves import range
|
||||
from typing import IO, Text
|
||||
|
||||
TOOLS_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
succesful_worker_launches = [
|
||||
|
@ -31,7 +32,9 @@ succesful_worker_launches = [
|
|||
]
|
||||
|
||||
def check_worker_launch(logfile):
|
||||
# type: (IO) -> Text
|
||||
def check(content):
|
||||
# type: (str) -> bool
|
||||
flag = True
|
||||
for entry in succesful_worker_launches:
|
||||
flag = flag and entry in content
|
||||
|
|
Loading…
Reference in New Issue