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
|
import re
|
||||||
|
|
||||||
from six.moves import range
|
from six.moves import range
|
||||||
|
from typing import IO, Text
|
||||||
|
|
||||||
TOOLS_DIR = os.path.dirname(os.path.abspath(__file__))
|
TOOLS_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||||
succesful_worker_launches = [
|
succesful_worker_launches = [
|
||||||
|
@ -31,7 +32,9 @@ succesful_worker_launches = [
|
||||||
]
|
]
|
||||||
|
|
||||||
def check_worker_launch(logfile):
|
def check_worker_launch(logfile):
|
||||||
|
# type: (IO) -> Text
|
||||||
def check(content):
|
def check(content):
|
||||||
|
# type: (str) -> bool
|
||||||
flag = True
|
flag = True
|
||||||
for entry in succesful_worker_launches:
|
for entry in succesful_worker_launches:
|
||||||
flag = flag and entry in content
|
flag = flag and entry in content
|
||||||
|
|
Loading…
Reference in New Issue