reyalysed grade 3
This commit is contained in:
@@ -179,7 +179,7 @@ def crash(client, actor, chat, mode):
|
||||
)
|
||||
|
||||
|
||||
def retry_replay(client, actor, chat, permanent):
|
||||
def retry_replay(client, actor, chat, permanent, on_failed=None):
|
||||
name = "messenger-retry-fault-" + uuid4().hex
|
||||
samples = []
|
||||
configuration = ComposeProject().config["services"]["worker"]["environment"]
|
||||
@@ -238,6 +238,8 @@ def retry_replay(client, actor, chat, permanent):
|
||||
actor=actor,
|
||||
expected=409,
|
||||
)
|
||||
if on_failed is not None:
|
||||
on_failed(sample, name)
|
||||
job_id = sample["job_id"]
|
||||
request_id = str(uuid4())
|
||||
listing = admin("list-failed")
|
||||
|
||||
Reference in New Issue
Block a user