From 6e33bb92a3e62c9351c5588d293bb2b4cd54e936 Mon Sep 17 00:00:00 2001 From: Boxiang Sun <boxiang.sun@nexedi.com> Date: Wed, 30 Nov 2022 15:52:57 +0100 Subject: [PATCH] peertube: test fixup --- software/peertube/buildout.hash.cfg | 2 +- software/peertube/template-nginx.cfg.in | 4 ++-- software/theia/test/project_tests.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/software/peertube/buildout.hash.cfg b/software/peertube/buildout.hash.cfg index f920b1d5a..99a8b48f6 100644 --- a/software/peertube/buildout.hash.cfg +++ b/software/peertube/buildout.hash.cfg @@ -34,7 +34,7 @@ md5sum = e761995c4c18efc4a199f11dc8fde039 [template-nginx-configuration] filename = template-nginx.cfg.in -md5sum = ca85c3afd3e626a367b5f1fb0cd8ead7 +md5sum = 408919e5c506e9ac3e2678fd3143b2e2 [template-dcron-service] filename = template-dcron-service.sh.in diff --git a/software/peertube/template-nginx.cfg.in b/software/peertube/template-nginx.cfg.in index 2f1287871..0d6ba9b5d 100644 --- a/software/peertube/template-nginx.cfg.in +++ b/software/peertube/template-nginx.cfg.in @@ -55,7 +55,7 @@ upstream backend { } server { - listen [$${nginx-configuration:ip}]:$${nginx-configuration:port}; + listen [$${nginx-configuration:ip}]:$${nginx-configuration:port} ssl; access_log $${directory:peertube_nginx_log}/peertube.access.log; # reduce I/0 with buffer=10m flush=5m error_log $${directory:peertube_nginx_log}/peertube.error.log; @@ -71,7 +71,7 @@ server { ssl_session_timeout 1d; # defaults to 5m ssl_session_cache shared:SSL:10m; # estimated to 40k sessions ssl_session_tickets off; - ssl_stapling on; + ssl_stapling off; ssl_stapling_verify on; # HSTS (https://hstspreload.org), requires to be copied in 'location' sections that have add_header directives add_header Strict-Transport-Security "max-age=63072000; includeSubDomains"; diff --git a/software/theia/test/project_tests.py b/software/theia/test/project_tests.py index 698ef3f6b..df124ae13 100644 --- a/software/theia/test/project_tests.py +++ b/software/theia/test/project_tests.py @@ -240,7 +240,7 @@ class TestTheiaResilienceERP5(ERP5Mixin, test_resiliency.TestTheiaResilience): class TestTheiaResiliencePeertube(test_resiliency.TestTheiaResilience): test_instance_max_retries = 12 - backup_max_tries = 480 + backup_max_tries = 40 backup_wait_interval = 60 _connexion_parameters_regex = re.compile(r"{.*}", re.DOTALL) _test_software_url = peertube_software_release_url -- 2.30.9