From 813049a3ff85b18bc1ca6f640c7677c8bbf39414 Mon Sep 17 00:00:00 2001 From: KunoiSayami Date: Sun, 18 Jun 2023 21:26:01 +0800 Subject: feat(exp): Add more test for level Signed-off-by: KunoiSayami --- analysis0617.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'analysis0617.py') diff --git a/analysis0617.py b/analysis0617.py index 58356f8..46a36b9 100755 --- a/analysis0617.py +++ b/analysis0617.py @@ -76,6 +76,7 @@ async def main(matches: argparse.Namespace) -> None: if search not in result[sample]: result[sample].update({search: {'normal': [], 'custom': []}}) for _ in range(3): + await asyncio.sleep(1) retries = 3 while (normal := await run_exec(matches.exec2, search, insertion)) is None: retries -= 1 @@ -83,6 +84,7 @@ async def main(matches: argparse.Namespace) -> None: if not retries: break total_run += 4 - retries + await asyncio.sleep(1) retries = 3 while (custom := await run_custom_exec(matches.exec1, sample, search, insertion)) is None: retries -= 1 @@ -106,6 +108,7 @@ if __name__ == '__main__': run_.add_argument("exec2") run_.add_argument("sample_limit") run_.add_argument("limit") + run_.add_argument("--test-times", default=3) parser_ = arg_.parse_args() if parser_.sub == 'run': asyncio.run(main(parser_)) -- cgit v1.3.1