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

Bugfix: maybe caused traffic uneven when some peers are unavailable. #1360

Merged
merged 1 commit into from
Sep 5, 2019

Conversation

wangfakang
Copy link
Collaborator

Maybe caused traffic uneven when some peers are unavailable.

Test Result

$ TEST_NGINX_BINARY=/home/fakang.wfk/work/github/tengine/objs/nginx  prove -v -I ./tests/nginx-tests/nginx-tests/lib/  ./tests/nginx-tests/tengine-tests/ngx_http_upstream_vnswrr.t 
./tests/nginx-tests/tengine-tests/ngx_http_upstream_vnswrr.t .. 
1..12
ok 1 - vnswrr 8081
ok 2 - vnswrr 8082
ok 3 - peer down
ok 4 - weight 1
ok 5 - weight 2
ok 6 - vnswrr zone
ok 7 - vnswrr backup
ok 8 - weight 1
ok 9 - weight 1
ok 10 - weight 2
ok 11 - no alerts
ok 12 - no sanitizer errors
ok
All tests successful.
Files=1, Tests=12,  0 wallclock secs ( 0.02 usr  0.00 sys    0.07 cusr  0.02 csys =  0.11 CPU)
Result: PASS

@wangfakang wangfakang requested a review from chobits September 5, 2019 02:24
@chobits chobits added this to the 2.3.2 milestone Sep 5, 2019
@chobits chobits merged commit 7e581f9 into alibaba:master Sep 5, 2019
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.

2 participants