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

ci.yml: added tengine test cases using test-nginx lib #1686

Merged
merged 3 commits into from
Nov 14, 2022

Conversation

chobits
Copy link
Member

@chobits chobits commented Nov 11, 2022

  1. run tengine cases that uses test-nginx lib in tests/test-nginx/cases/ with minor changes
  2. clear deprecated cases in tests/test-nginx/cases/ (these features had been replaced by nginx, so the cases are deprecated.
  3. fixed accidental failure of some test cases in github CI/CD workflow: fastcgi_check.t and reqstat.t

1. modified ci.yml: run tengine test cases using test-nginx lib
2. remove deprecated syslog.t and limit_upstream_tries.t
   (this feature is replaced by similar one from nginx
3. fixed user_agent.t: remove ngx_echo dependence via using "return"
   directive
Use "127.0.0.01:8xxx" instead of "127.0.0.1:8xxx".
Otherwise, port() in Nginx.pm will listen on that port firstly,
which makes fastcgi_daemon() fail to open port.
@chobits
Copy link
Member Author

chobits commented Nov 11, 2022

After this pr, only nginx-tests/*.t are not included into CI/CD workflow. See those cases in https://github.com/alibaba/tengine/tree/master/tests/nginx-tests/nginx-tests

May create a new workflow action(new .yml file) for nginx-tests/*.t, too many cases here.

@chobits
Copy link
Member Author

chobits commented Nov 11, 2022

cc @u5surf for modifying ci.yml

@@ -19,23 +19,23 @@ __DATA__
--- config
location /exact {
if ($browser = 1) {
echo "msie6";
return 200 "msie6\n";
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove dependence of ngx_echo module.

@chobits
Copy link
Member Author

chobits commented Nov 11, 2022

@chobits chobits requested a review from wa5i November 11, 2022 12:18
@chobits chobits merged commit 3652122 into alibaba:master Nov 14, 2022
@chobits chobits added this to the 2.4.0 milestone Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant