Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update the test configuration for all tests #657

Open
RomanBelozerov opened this issue Aug 5, 2024 · 0 comments
Open

update the test configuration for all tests #657

RomanBelozerov opened this issue Aug 5, 2024 · 0 comments
Labels
enhancement New feature or request good to start Start form this tasks if you're new in the framework

Comments

@RomanBelozerov
Copy link
Contributor

We have a lot of the tests with simple configuration and this is too different from the real configuration. So we should change configuration in all tests. For example: enable access_log or config from tempesta-tech.com site. (see t_sites tests).

Probably, we need to create the default config for that. For example:

listen 443 proto=h2,https;
listen 80 proto=http;

access_log on;

cache 2;
cache_fulfill * *;
cache_methods GET HEAD;

srv_group main {server ${server_ip}:8000;}

block_action attack reply;
block_action error reply;

tls_certificate ${tempesta_workdir}/tempesta.crt;
tls_certificate_key ${tempesta_workdir}/tempesta.key;
tls_match_any_server_name;

vhost main {
    location suffix "/" {
        proxy_pass main;
    }
    proxy_pass main;
}

http_chain {-> main;}
@RomanBelozerov RomanBelozerov added enhancement New feature or request good to start Start form this tasks if you're new in the framework labels Aug 5, 2024
@RomanBelozerov RomanBelozerov added this to the LA for tests milestone Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good to start Start form this tasks if you're new in the framework
Projects
None yet
Development

No branches or pull requests

1 participant