openresty / openresty/test-nginx
somewhat array related in line 1102
Open
Nobody has claimed this yet.
- Dominant language
- Perl
- Stars
- 456
- Forks
- 112
- PR merge metrics
- No merged PRs in 30d
Description
have a look:
https://travis-ci.org/chipitsine/stream-lua-nginx-module/builds/128381568#L590
is fails in line 1102
# Failed test 'TEST 13: ngx.log() big data - pattern "Undefined subroutine &Test::Base::Filter::ARRAY called at (eval 46) line 1, <DATA> line 1." should match a line in error.log (req 0)'
# at /usr/local/share/perl/5.18.2/Test/Nginx/Socket.pm line 1102.
ok 3 - TEST 13: ngx.log() big data - status code ok
looks like stream is not wrapped in array like http ?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked Travis build and inspect /usr/local/share/perl/5.18.2/Test/Nginx/Socket.pm around line 1102. Compare how stream and HTTP test data are wrapped, then reproduce TEST 13. Done means the test no longer reports the Undefined subroutine &Test::Base::Filter::ARRAY error and the expected log pattern matches.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nginx, perl
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100