Commit 6e33bb92 authored by Boxiang Sun's avatar Boxiang Sun

peertube: test fixup

parent 7aa4cc17
...@@ -34,7 +34,7 @@ md5sum = e761995c4c18efc4a199f11dc8fde039 ...@@ -34,7 +34,7 @@ md5sum = e761995c4c18efc4a199f11dc8fde039
[template-nginx-configuration] [template-nginx-configuration]
filename = template-nginx.cfg.in filename = template-nginx.cfg.in
md5sum = ca85c3afd3e626a367b5f1fb0cd8ead7 md5sum = 408919e5c506e9ac3e2678fd3143b2e2
[template-dcron-service] [template-dcron-service]
filename = template-dcron-service.sh.in filename = template-dcron-service.sh.in
......
...@@ -55,7 +55,7 @@ upstream backend { ...@@ -55,7 +55,7 @@ upstream backend {
} }
server { 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 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; error_log $${directory:peertube_nginx_log}/peertube.error.log;
...@@ -71,7 +71,7 @@ server { ...@@ -71,7 +71,7 @@ server {
ssl_session_timeout 1d; # defaults to 5m ssl_session_timeout 1d; # defaults to 5m
ssl_session_cache shared:SSL:10m; # estimated to 40k sessions ssl_session_cache shared:SSL:10m; # estimated to 40k sessions
ssl_session_tickets off; ssl_session_tickets off;
ssl_stapling on; ssl_stapling off;
ssl_stapling_verify on; ssl_stapling_verify on;
# HSTS (https://hstspreload.org), requires to be copied in 'location' sections that have add_header directives # 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"; add_header Strict-Transport-Security "max-age=63072000; includeSubDomains";
......
...@@ -240,7 +240,7 @@ class TestTheiaResilienceERP5(ERP5Mixin, test_resiliency.TestTheiaResilience): ...@@ -240,7 +240,7 @@ class TestTheiaResilienceERP5(ERP5Mixin, test_resiliency.TestTheiaResilience):
class TestTheiaResiliencePeertube(test_resiliency.TestTheiaResilience): class TestTheiaResiliencePeertube(test_resiliency.TestTheiaResilience):
test_instance_max_retries = 12 test_instance_max_retries = 12
backup_max_tries = 480 backup_max_tries = 40
backup_wait_interval = 60 backup_wait_interval = 60
_connexion_parameters_regex = re.compile(r"{.*}", re.DOTALL) _connexion_parameters_regex = re.compile(r"{.*}", re.DOTALL)
_test_software_url = peertube_software_release_url _test_software_url = peertube_software_release_url
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment