Skip to content

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

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