From 74bfcf6291a024a990fb0284c9143d695e3f29ca Mon Sep 17 00:00:00 2001 From: Max Wang Date: Sat, 17 Feb 2024 20:23:15 -0500 Subject: [PATCH 1/3] Add longer timeout for screenshot uploads --- setup.py | 2 +- test_harness/reporter.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 90ec1d6..4c48c63 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( name="sri-test-harness", - version="0.1.2", + version="0.1.3", author="Max Wang", author_email="max@covar.com", url="https://github.com/TranslatorSRI/TestHarness", diff --git a/test_harness/reporter.py b/test_harness/reporter.py index 643c450..f162f3f 100644 --- a/test_harness/reporter.py +++ b/test_harness/reporter.py @@ -130,6 +130,7 @@ async def upload_screenshot(self, test_id, screenshot): "Content-Type": "image/png", }, data=screenshot, + timeout=30, ) res.raise_for_status() From 7dbc56ded37f03193b305b0b72560d44202594bc Mon Sep 17 00:00:00 2001 From: Max Wang Date: Fri, 1 Mar 2024 15:25:32 -0500 Subject: [PATCH 2/3] Bump benchmark runner version --- .gitignore | 6 ++---- requirements-runners.txt | 2 +- setup.py | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 0814f4c..7e786de 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,5 @@ __pycache__ *.egg-info logs/ -Translator-Tests/ - -# PyCharms IDE metadata to be ignored -.idea/ +scripts/ +.env diff --git a/requirements-runners.txt b/requirements-runners.txt index 62a3005..b38845b 100644 --- a/requirements-runners.txt +++ b/requirements-runners.txt @@ -1,3 +1,3 @@ ARS_Test_Runner==0.0.8 -benchmarks-runner==0.1.2 +benchmarks-runner==0.1.3 ui-test-runner==0.0.2 diff --git a/setup.py b/setup.py index 4c48c63..85f4978 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( name="sri-test-harness", - version="0.1.3", + version="0.1.4", author="Max Wang", author_email="max@covar.com", url="https://github.com/TranslatorSRI/TestHarness", From 41e81e6dadaa6c3ccf2071247a205b0a9e2d0e03 Mon Sep 17 00:00:00 2001 From: Max Wang Date: Fri, 1 Mar 2024 16:16:11 -0500 Subject: [PATCH 3/3] Bump the ARS test runner version too --- requirements-runners.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-runners.txt b/requirements-runners.txt index b38845b..f70a938 100644 --- a/requirements-runners.txt +++ b/requirements-runners.txt @@ -1,3 +1,3 @@ -ARS_Test_Runner==0.0.8 +ARS_Test_Runner==0.0.9 benchmarks-runner==0.1.3 ui-test-runner==0.0.2